[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317946: TLS section mismatch.



Hi,

When building debian-installer, I'm also getting the following
error:
Command failed with status 1 : gcc -nostdlib -nostartfiles -shared -Wl,-soname=libc.so.6 -uwctomb -ufclose -ufreopen64 -ugetmntent -usleep -uwcsncasecmp -ustrptime -umktime -u__fxstat -ugetline -ulocaltime -uiopl -ugetppid -uutime -ustrnlen -usiglongjmp -urecvfrom -uopendir -u__strdup -ustderr -uklogctl -usnprintf -uoptind -umemset -uwcschr -usync -uobstack_free -u__stpcpy -ustrcasestr -u__ctype_get_mb_cur_max -uwcrtomb -uindex -ustrcspn -u_nss_files_parse_spent -uopenlog -uaccess -ugrantpt -usetlogmask -uioperm -umunmap -ugetnetbyaddr -umbsinit -uwait -ugetgrnam -upopen -uinet_network -usendmsg -uiswalnum -urename -urealloc -uhasmntopt -uunlockpt -u__strcasecmp -ugetnameinfo -uselect -ugetchar -uscandir64 -urindex -uendservent -ustrdup -uunlink -uisatty -utdelete -ustatfs64 -uwarn -ugettimeofday -uherror -uchdir -uxdecrypt -u__errno_location -ustrerror -uisspace -ufnmatch -usysconf -uaccept -uabort -ufprintf -ustrtoll -ustrlen -ustrncat -uchroot -uclearerr -ugetgroups -ufeof -u__mempcpy -uwrite -urewind -uvasprintf -uopen64 -upwrite64 -u__cxa_finalize -ugethostbyname -uioctl -ugetopt_long -utcgetpgrp -usigdelset -ubind -ustdin -u__rawmemchr -u__xstat -umlockall -u__res_ninit -usetrlimit64 -ubasename -u__sigsetjmp -uuname -ubtowc -ustrtoul -uswapoff -u__xpg_basename -uexeclp -ugetsubopt -ufwrite -ugetpid -usetgid -ufeof_unlocked -ugetpwnam -uexecl -ugetdelim -u_res_hconf -usendto -uexecv -umemchr -umkfifo -usys_siglist -uconnect -ufgets_unlocked -uflock -udirname -u_nss_files_parse_pwent -uendpwent -ureboot -uunsetenv -usetsid -usprintf -u__ctype_b_loc -ustrrchr -uregexec -ugethostbyaddr -ustrchrnul -uasprintf -uferror -ugetcwd -ufree -utfind -urecv -uputchar -u__strtol_internal -utimes -usigsetmask -ugetservbyname -urand -uqsort
-ubcopy -u__xstat64 -u__libc_start_main -uopen -ustrncpy -uusleep -unftw -umkdir -usystem -ustrcasecmp -udcgettext -untohs -umemcmp -udprintf -umkstemp64 -ulisten -uswapon -ualphasort64 -usyslog -ustatfs -uvsnprintf -u__assert_fail -ustrtok_r -uwcswidth -usigfillset -ustpcpy -ubindtextdomain -ugeteuid -ufseek -ugetrlimit64 -utsearch -u_obstack_newchunk -urealpath -utolower -utcgetattr -uglob -ustrpbrk -ualarm -upipe -usetvbuf -uscandir -ustrncasecmp -ure_compile_pattern -urandom -u_IO_putc -ulseek64 -usetmntent -ustrtol -ufputc -upause -ustrtok -ustrtod
-uumask -ufputs -ufchmod -uregcomp -udup2 -utwalk -uinet_ntop -ustrsep -uinet_ntoa -umemcpy -ufileno -uperror -usrandom -ufscanf -uumount -ustrncmp -umbtowc -ustrcat -ugetsockname -uclose -ustrchr -ufgetpos -uposix_memalign -uvdprintf -ufcntl -u__getdelim -u__lxstat64 -umemalign -usigaction -usetsockopt -ure_match -umallopt -ucloselog -ustrftime -uchmod -utoupper -uhtonl -u_obstack_begin -usigprocmask -uraise -uputs -udup -ureaddir64 -ufread -ustrsignal -uexecvp -u__strtod_internal -umbsrtowcs -uexecve -untohl -umount -ugetrusage -ugetpwuid -uvsprintf -usetuid -umalloc -ustdout -usrand -uwcwidth -urecvmsg -utowlower -uwaitpid -uoptarg -ulongjmp -u__strtok_r -u__ctype_tolower_loc -ucalloc -usetbuf -usetitimer -useekdir -utextdomain -ufopen64 -umempcpy -ulseek -ugetpwent -umallinfo -u__lxstat -ukill -ufflush -ummap64 -u__xmknod -usethostname -ummap -uptsname -usetpriority -ulchown -u_setjmp -uread -udaemon -uustat -ustrstr -uctime -ufsync -umemmove -usignal -uiswpunct -umblen -ufreopen -ustrcmp -ushutdown -urpmatch -ufgetc -upclose -uprintf -uftruncate64 -ureaddir -uglobfree -ugetgid -uendmntent -u_nss_files_parse_grent -uregfree -ufsetpos -u__h_errno_location -uftell -uexit -uasctime -umbstowcs -usetrlimit -ugetpagesize -ugmtime -usymlink -u__strtoul_internal -ugethostname -uregister_printf_function -usysinfo -umunlockall -usocket -ugetpriority -usiginterrupt -ustrcpy -ubsearch -ureadlink -u_exit -usetlocale -uumount2 -uwcscasecmp -usigemptyset -u__fxstat64 -ufopen -uputenv -ufdopen -uvsyslog -uwcslen -urmdir -u__res_state -u__strtoll_internal -ufork -uvprintf -ualphasort -ugetenv -uatoi -ulink -uvfprintf -uatol -uiswblank -ugetnetbyname -uwait4 -u_IO_getc -usbrk -uwait3 -u__cxa_atexit -ustrspn -uungetc -usscanf -ustrndup -usyscall -umbrtowc -uinet_pton -ufgets -upread64 -uhtons -usetenv -ugetopt -umkstemp -uinet_aton -u__strtoull_internal -utcsetattr -uregerror -u__ctype_toupper_loc -usigaddset -uclosedir -ugetegid -uwcsdup -ugetuid -uchown -utime -o ./tmp/monolithic/tree/lib/libc.so.6-so /usr/lib/libc_pic/soinit.o /usr/lib//libc_pic.a /usr/lib/libc_pic/sofini.o /lib//ld-linux-x86-64.so.2 -u __dso_handle -Wl,--version-script=/usr/lib//libc_pic.map -lgcc -L ./tmp/monolithic/tree/lib -L./tmp/monolithic/tree/usr/lib -L./tmp/monolithic/udeblibs -L/lib/ -L/usr/lib/ -L/usr/X11R6/lib/ -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf -L./tmp/monolithic/tree//usr/lib/cdebconf
With output: /usr/bin/ld: __libc_tsd_LOCALE: TLS definition in /usr/lib//libc_pic.a(global-locale.os) section .tdata mismatches non-TLS reference in /usr/lib//libc_pic.a(setlocale.os)

And I was wondering if anybody knows if this is fixed in
the experimental version too.  I'll try and tests this
later.

PS: Atleast the errno one reported before is affecting 2
arches: amd64 and ia64.  It looks like they're the only
two who have a static libc.a compiled using --with-tls.
Others like i386 only have --with-tls in the i686 shared
version.


Kurt




Reply to: