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

Re: [PATCHv2,HURD] Add fork hooks for pthread_atfork


Hello,

Roland McGrath, le Fri 20 Dec 2013 13:05:42 -0800, a Ãcrit :
> The linker is supposed to define those symbols automagically.
> Did it break?

We have been having

â
checking for sufficient default -shared layout... no
â

at least since 2.17, yes.  (I don't have logs between 2.13 and 2.17)

Note that this is a Debian build, and also happens on Linux ports.

Here is the config.log output from 2.17:

configure:6644: checking for sufficient default -shared layout
configure:6663:   i486-gnu-gcc-4.7  -shared -o conftest.so conftest.s 1>&5
configure:6666: $? = 0
nono from:

NOTE .note.gnu.build-i
GNU_HASH .gnu.hash
DYNSYM .dynsym
STRTAB .dynstr
VERSYM .gnu.version
VERNEED .gnu.version_r
REL .rel.dyn
REL .rel.plt
PROGBITS .init
PROGBITS .plt
PROGBITS .text
PROGBITS .fini
NOTE .note.a
NOTE .note.b
PROGBITS .eh_frame
INIT_ARRAY .init_array
FINI_ARRAY .fini_array
PROGBITS .jcr
DYNAMIC .dynamic
PROGBITS .got
PROGBITS .got.plt
PROGBITS .data
NOBITS .bss
PROGBITS .comment
STRTAB .shstrtab
SYMTAB .symtab
STRTAB .strtab
configure:6698: result: no

So the NOTEs are indeed not put at the beginning by the debian linker.

Samuel


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