errors on GLIBC-2_3-BRANCH w/gcc-3.4.3, suse-9.0

Edward Peschko esp5@pge.com
Thu Jan 13 00:03:00 GMT 2005


hey all,

I just downloaded the latest and greatest glibc-2_3-branch, and tried compiling it 
with gcc-3.4.3 on suse-9.0, with the linuxthreads addon.

It gets pretty far, but I'm still getting the following attached errors.

I had a couple questions:

	1) is there a compile farm set up, compiling glibc with different 
            linux distributions for the most current branch?

        2) if not, are there any documents containing compilation hints for
           the different platforms?

        3) has anyone compiled glibc-2_3-branch with suse-9.0? If so, what
           did you do to get it to compile cleanly?

I guess I could hack a patch together to get it to work, but if I did, it
would be incorrect anyways so I'm hesitant to do so.

Anyways, any help on this would be most appreciated. 

Ed
----

/opt/tools/generic/test/i686/Linux/bin/gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/opt/tools/generic/test/i686/Linux//lib/ld-linux.so.2  -B/home/tools/work/.prod/libc/build/csu/  -Wl,--version-script=/home/tools/work/.prod/libc/build/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -nostdlib -nostartfiles -e __libc_main -L/home/tools/work/.prod/libc/build -L/home/tools/work/.prod/libc/build/math -L/home/tools/work/.prod/libc/build/elf -L/home/tools/work/.prod/libc/build/dlfcn -L/home/tools/work/.prod/libc/build/nss -L/home/tools/work/.prod/libc/build/nis -L/home/tools/work/.prod/libc/build/rt -L/home/tools/work/.prod/libc/build/resolv -L/home/tools/work/.prod/libc/build/crypt -L/home/tools/work/.prod/libc/build/linuxthreads -Wl,-rpath-link=/home/tools/work/.prod/libc/build:/home/tools/work/.prod/libc/build/math:/home/tools/work/.prod/libc/build/elf:/home/tools/work/.prod/libc/build/dlfcn:/home/tools/work/.prod/libc/build/nss:/home/tools/work/.prod/libc/build/nis:/home/tools/work/.prod/libc/build/rt:/home/tools/work/.prod/libc/build/resolv:/home/tools/work/.prod/libc/build/crypt:/home/tools/work/.prod/libc/build/linuxthreads -o /home/tools/work/.prod/libc/build/libc.so -T /home/tools/work/.prod/libc/build/shlib.lds /home/tools/work/.prod/libc/build/csu/abi-note.o /home/tools/work/.prod/libc/build/elf/soinit.os /home/tools/work/.prod/libc/build/libc_pic.os /home/tools/work/.prod/libc/build/elf/sofini.os /home/tools/work/.prod/libc/build/elf/interp.os /home/tools/work/.prod/libc/build/elf/ld.so -lgcc
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xcb1c): In function `__uselocale':
/home/tools/work/.dev/libc/locale/uselocale.c:66: undefined reference to `__libc_tsd_CTYPE_B_data'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xcb2a):/home/tools/work/.dev/libc/locale/uselocale.c:67: undefined reference to `__libc_tsd_CTYPE_TOLOWER_data'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xcb35):/home/tools/work/.dev/libc/locale/uselocale.c:68: undefined reference to `__libc_tsd_CTYPE_TOUPPER_data'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xcc39): In function `_nl_postload_ctype':
/home/tools/work/.dev/libc/locale/lc-ctype.c:69: undefined reference to `__libc_tsd_CTYPE_B_data'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xcc41):/home/tools/work/.dev/libc/locale/lc-ctype.c:70: undefined reference to `__libc_tsd_CTYPE_TOUPPER_data'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xcc47):/home/tools/work/.dev/libc/locale/lc-ctype.c:72: undefined reference to `__libc_tsd_CTYPE_TOLOWER_data'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xd101): In function `isalnum':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xd153): In function `isalpha':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xd1a1): In function `iscntrl':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xd1f3): In function `isdigit':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xd243): In function `islower':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xd293):../include/ctype.h:35: more undefined references to `__libc_tsd_LOCALE' follow
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x3e041): In function `_IO_new_fclose':
/home/tools/work/.dev/libc/libio/iofclose.c:77: undefined reference to `__gconv_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x3e055):/home/tools/work/.dev/libc/libio/iofclose.c:74: undefined reference to `__gconv_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x53b17): In function `*__GI_strcoll':
/home/tools/work/.dev/libc/string/strcoll.c:36: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x54ce7): In function `strxfrm':
/home/tools/work/.dev/libc/string/strxfrm.c:32: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x55509): In function `*__GI___strcasecmp':
../sysdeps/generic/strcasecmp.c:56: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x55589): In function `__strncasecmp':
../sysdeps/generic/strncase.c:59: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x55cc9): In function `__strcasestr':
../sysdeps/generic/strcasestr.c:59: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x5a4c7):./wcsmbsload.h:71: more undefined references to `__libc_tsd_LOCALE' follow
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x65746): In function `__wcsmbs_load_conv':
/home/tools/work/.dev/libc/wcsmbs/wcsmbsload.c:214: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x65788):/home/tools/work/.dev/libc/wcsmbs/wcsmbsload.c:156: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x657ca): In function `__wcsmbs_clone_conv':
./wcsmbsload.h:71: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x69c2f): In function `*__GI_strptime':
/home/tools/work/.dev/libc/time/strptime.c:37: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x6cae7): In function `*__GI_strftime':
/home/tools/work/.dev/libc/time/strftime.c:27: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x6cb37): In function `*__GI_wcsftime':
/home/tools/work/.dev/libc/time/wcsftime.c:28: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x71183): In function `_nl_init_era_entries':
/home/tools/work/.dev/libc/time/era.c:138: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x7120e):/home/tools/work/.dev/libc/time/era.c:48: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x71524): In function `_nl_get_alt_digit':
/home/tools/work/.dev/libc/time/alt_digit.c:91: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x7153a):/home/tools/work/.dev/libc/time/alt_digit.c:80: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x71675): In function `_nl_get_walt_digit':
/home/tools/work/.dev/libc/time/alt_digit.c:144: undefined reference to `__libc_setlocale_lock'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x71689):/home/tools/work/.dev/libc/time/alt_digit.c:107: more undefined references to `__libc_setlocale_lock' follow
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x748e0): In function `*__GI__nss_files_parse_grent':
../nss/nss_files/files-parse.c:200: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x74b08): In function `__fgetgrent_r':
/home/tools/work/.dev/libc/grp/fgetgrent_r.c:68: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x75c08): In function `__fgetpwent_r':
/home/tools/work/.dev/libc/pwd/fgetpwent_r.c:80: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x7e02f): In function `internal_fnmatch':
/home/tools/work/.dev/libc/posix/fnmatch_loop.c:46: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x7e6d1):/home/tools/work/.dev/libc/posix/fnmatch_loop.c:319: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0x7e761):/home/tools/work/.dev/libc/posix/fnmatch_loop.c:428: more undefined references to `__libc_tsd_LOCALE' follow
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc2fe2): In function `*__GI___register_atfork':
../linuxthreads/sysdeps/pthread/list.h:60: undefined reference to `__fork_block'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc2fe8):../linuxthreads/sysdeps/pthread/list.h:61: undefined reference to `__fork_block'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc2ff5):../linuxthreads/sysdeps/pthread/list.h:63: undefined reference to `__fork_block'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc2fff):../linuxthreads/sysdeps/pthread/list.h:60: undefined reference to `__fork_block'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc3005):../linuxthreads/sysdeps/pthread/list.h:61: undefined reference to `__fork_block'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc3012):../linuxthreads/sysdeps/pthread/list.h:63: more undefined references to `__fork_block' follow
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc34ee): In function `*__GI___inet_aton':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc39c6): In function `*__GI_inet_pton':
../include/ctype.h:63: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc3d34): In function `inet_nsap_addr':
/home/tools/work/.dev/libc/resolv/nsap_addr.c:64: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc49d5): In function `__res_vinit':
../include/ctype.h:35: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc4a5e): In function `__res_vinit':
/home/tools/work/.dev/libc/resolv/res_init.c:368: undefined reference to `__libc_tsd_LOCALE'
/home/tools/work/.prod/libc/build/libc_pic.os(.text+0xc4f12):/home/tools/work/.dev/libc/resolv/res_hconf.c:112: more undefined references to `__libc_tsd_LOCALE' follow
collect2: ld returned 1 exit status
make[1]: *** [/home/tools/work/.prod/libc/build/libc.so] Error 1
make[1]: Leaving directory `/home/tools/work/.dev/libc'
make: *** [all] Error 2
s




More information about the Libc-alpha mailing list