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

glibc 2.1.1pre1 and cvs problems


For several weeks now (6 maybe?) I have been plagued by a problem building
glibc. The problem occurrs with both the cvs tree and the 2.1.1pre1
release. The system is currently linux 2.2.3, egcs 2.93.12 (cvs), binutils
2.9.1.0.18, glibc 2.0.112... I have no clue how to  track it backwards and
attempt to find its source as everything seems ok. I have also tried to
build with the egcs-1.1.2 release and the same error occurrs.

The error:

: /usr/src/glibcobj/libc_nonshared.a
gcc   -nostdlib -nostartfiles -r -o /usr/src/glibcobj/libc_pic.os \
-Wl,-d -Wl,--whole-archive /usr/src/glibcobj/libc_pic.a
gcc   -shared -Wl,-O1 -o /usr/src/glibcobj/libc.so
-Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/usr/src/glibcobj/csu/
-Wl,--version-script=/usr/src/glibcobj/libc.map -Wl,-soname=libc.so.6
-nostdlib -nostartfiles -e __libc_main -u __register_frame
-L/usr/src/glibcobj -L/usr/src/glibcobj/math -L/usr/src/glibcobj/elf
-L/usr/src/glibcobj/nss -L/usr/src/glibcobj/nis -L/usr/src/glibcobj/db2
-L/usr/src/glibcobj/rt -L/usr/src/glibcobj/resolv
-L/usr/src/glibcobj/linuxthreads -Wl,-rpath-link=/usr/src/glibcobj:
/usr/src/glibcobj/math:/usr/src/glibcobj/elf:/usr/src/glibcobj/nss:
/usr/src/glibcobj/nis:/usr/src/glibcobj/db2:/usr/src/glibcobj/rt:
/usr/src/glibcobj/resolv:/usr/src/glibcobj/linuxthreads
-Wl,--whole-archive /usr/src/glibcobj/elf/soinit.os
/usr/src/glibcobj/libc_pic.os /usr/src/glibcobj/elf/sofini.os
/usr/src/glibcobj/elf/interp.os /usr/src/glibcobj/elf/ld.so
-Wl,--no-whole-archive -lgcc

/usr/i586-pc-linux-gnu/bin/ld: unable to find version dependency `GLIBC_2.1'
collect2: ld returned 1 exit status
gcc: file path prefix `/usr/src/glibcobj/csu/' never used
make[1]: *** [/usr/src/glibcobj/libc.so] Error 1
make[1]: Leaving directory `/usr/src/libc'
make: *** [all] Error 2


Anyone want to give me at least some insight?

Configure options:

CFLAGS="-Vegcs-2.91.66 -O2 -g -mpentium -march=pentium -D_GNU_SOURCE"
CXXFLAGS="-Vegcs-2.91.66 -O2 -g -mpentium -march=pentium -D_GNU_SOURCE"
../libc/configure --enable-libio --disable-profile --prefix=/usr \
      --enable-add-ons=crypt,linuxthreads

WM




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