Modify

Opened 8 years ago

Closed 6 years ago

#6788 closed defect (too_vague)

[trunk] Generic x86 with glibc build broken: glibc needs __thread

Reported by: Mark Vels Owned by: nico
Priority: normal Milestone: Backfire 10.03
Component: base system Version: Trunk
Keywords: CONFIG_TLS __thead glibc Cc:

Description

When building a generic x86 build with glibc (both 2.6.1 and 2.7), the configure fails. The tail of the output is at the end of this message.

The error was introduced with the addition of CONFIG_TLS option in commit 19870.

.....
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for builtin_expect... yes
checking for
builtin_memset... no
checking for redirection of built-in functions... yes
checking for thread... no
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... (cached) yes
running configure fragment for nptl/sysdeps/pthread
configure: error: compiler support for
thread is required
make[3]: * /home/markv/src/tmp/owrt-glibcbuild.git/build_dir/toolchain-i386_gcc-4.1.2_glibc-2.6.1/glibc-2.6.1/.prepared Error 1
make[3]: Leaving directory `/home/markv/src/tmp/owrt-glibcbuild.git/toolchain/glibc'
make[2]:
* [toolchain/glibc/prepare] Error 2
make[2]: Leaving directory `/home/markv/src/tmp/owrt-glibcbuild.git'
make[1]: * /home/markv/src/tmp/owrt-glibcbuild.git/staging_dir/toolchain-i386_gcc-4.1.2_glibc-2.6.1/stamp/.toolchain_install Error 2
make[1]: Leaving directory `/home/markv/src/tmp/owrt-glibcbuild.git'
make:
* [world] Error 2

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by nico

  • Milestone set to Backfire 10.03
  • Owner changed from developers to nico
  • Status changed from new to accepted

comment:2 Changed 8 years ago by nico

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in [20018], thanks!

comment:3 Changed 6 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 6 years ago by anonymous

checking for assembler .weak directive... yes
checking whether CFI directives are supported... no
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for builtin_expect... yes
checking for
builtin_memset... no
checking for redirection of built-in functions... yes
checking for thread... no
configure: error: support for the
thread keyword is required

comment:5 Changed 6 years ago by nbd

  • Resolution set to too_vague
  • Status changed from reopened to closed

you forgot to include the relevant context of that error message. what platform, what libc, where did the error happen?

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.