This is the mail archive of the libc-alpha@sources.redhat.com 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]

glibc 2.3.3-27 _Unwind_Resume


Hello everyone,

I needed a secondary test version of glibc on my system (Fedora Core 2).
The primary glibc version is 2.3.3-27.

So I downloaded glibc-2.3.3-27.src.rpm and built it using gcc version
3.3.3 20040412 (Red Hat Linux 3.3.3-7) with the following configure
options

../libc/configure
--prefix=/home/praveen/finalproj/newworking/myglibc/binaries
--disable-profile --enable-add-ons=nptl --with-tls

in a separate build directory.

The build was successful.

I later created a new gcc specs file that links the secondary glibc
libraries. When I tried to compile a helloworld program using the new
specs file, I got the following errors

gcc -specs=/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/myspecs -c helloworld.c
gcc -specs=/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/myspecs helloworld.o
-o tes t
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(iofclose.o)(.te
xt+0x15a): In function `_IO_new_fclose':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/libio
P.h:990: undefined reference to `_Unwind_Resume'
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(iofclose.o)(.eh
_frame+0x12): In function `_IO_new_fclose':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/iofcl
ose.c:57: undefined reference to `__gcc_personality_v0'
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(iofflush.o)(.te
xt+0xa6): In function `_IO_fflush':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/libio
P.h:990: undefined reference to `_Unwind_Resume'
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(iofflush.o)(.eh
_frame+0x12): In function `_IO_fflush':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/ioffl
ush.c:42: undefined reference to `__gcc_personality_v0'
...
...
...
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(fseek.o)(.text+
0xa6): In function `fseek':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/libio
P.h:990: undefined reference to `_Unwind_Resume'
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(fseek.o)(.eh_fr
ame+0x12): In function `fseek':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/fseek
.c:40: undefined reference to `__gcc_personality_v0'
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(ioseekoff.o)(.t
ext+0x14e): In function `_IO_seekoff':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/libio
P.h:990: undefined reference to `_Unwind_Resume'
/home/praveen/finalproj/newworking/myglibc/binaries/lib//libc.a(ioseekoff.o)(.e
h_frame+0x12): In function `_IO_seekoff_unlocked':
/home/praveen/finalproj/newworking/myglibc/glibc-2.3.3-200405070341/libio/iosee
koff.c:45: undefined reference to `__gcc_personality_v0'
collect2: ld returned 1 exit status
make: *** [test] Error 1

The linker complains undefined reference to __gcc_personality_v0,
_Unwind_Resume. I chekced up the primary libc.a and it doesnt have these
two symbols.

I also compared other symbols in both libc.a files and I was surprised
that I was not able to find any nptl related symbols in primary libc.a.
Till now I assumed Fedora Core 2 glibc comes with NPTL add-on. Anyway, I
need NPTL as an add-on rather than linuxthreads in my secondary glibc. Can
anyone please throw some light on what could be wrong? Am I missing any
important configure option.

If this is not the right mailing list to post this message, please give
some pointers on where I should post this question.

Thanks in advance

Regards
Praveen Srinivasan



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