This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/9678] New: glibc cross compile for arm fails with undefined reference to __GI___sigsetjmp


I'm trying to build a cross toolchain for arm-unknown-linux-gnu. So far I've
built:

1. binutils (2.19)
2. linux headers (2.6.27.9)
3. glibc headers (cvs head from today 2008-12-21)
4. gcc (4.4.0 snapshot from 20081219, c only):

# arm-unknown-linux-gnu-gcc -v
Using built-in specs.
Target: arm-unknown-linux-gnu
Configured with: ../configure --target=arm-unknown-linux-gnu --prefix=/usr --
shared --disable-checking --disable-werror --disable-libmudflap --disable-libssp
--disable-libgomp
Thread model: posix
gcc version 4.4.0 20081219 (experimental) (GCC)


Now I want to build glibc, so I configure glibc like this:

../libc/configure --disable-stackguard-randomization --enable-add-
enable-bind-now --build=x86_64-pc-linux-gnu --host=arm-unknown-linux-gnu --
gnu/usr/include --prefix=/usr

then I get this error:

/root/libc-build-arm-unknown-linux-gnu/libc_pic.os: In function `setjmp':
unwind-pe.c:(.text+0x15854): undefined reference to `__GI___sigsetjmp'
/root/libc-build-arm-unknown-linux-gnu/libc_pic.os: In function `__GI__setjmp':
unwind-pe.c:(.text+0x15864): undefined reference to `__GI___sigsetjmp'

Am I doing something wrong? I *can* build a cross compiler like this for
powerpc64-unknown-linux-gnu just fine, so there seems to be an error in glibc..

-- 
           Summary: glibc cross compile for arm fails with undefined
                    reference to __GI___sigsetjmp
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: markus at unixforces dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: arm-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=9678

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]