Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-22 Thread Michael Tautschnig
> Michael Tautschnig writes: > > > I'm sorry, I've only got the online version (from > > http://www.iecc.com/linker/) > > at hand right now, which doesn't seem to have subsection numbers. Under > > which > > heading would I find that information? > > Under the heading "Searching libraries", Ch

Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-22 Thread Niels Möller
Michael Tautschnig writes: > I'm sorry, I've only got the online version (from http://www.iecc.com/linker/) > at hand right now, which doesn't seem to have subsection numbers. Under which > heading would I find that information? Under the heading "Searching libraries", Chapter 6, http://www.iecc

Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-22 Thread Michael Tautschnig
Hi Niels, > Michael Tautschnig writes: > > > I'm not sure where such behaviour would be specified for a unix > > linker!? > > Not sure, either. It is described quite clearly in Levine's "Linkers and > Loaders" (see sec 6.4). Which is recommended reading for anything > linker-related. > I'm so

Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-21 Thread Niels Möller
Michael Tautschnig writes: > I'm not sure where such behaviour would be specified for a unix > linker!? Not sure, either. It is described quite clearly in Levine's "Linkers and Loaders" (see sec 6.4). Which is recommended reading for anything linker-related. I haven't tried checking posix specs

Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-21 Thread Michael Tautschnig
Hi Niels, > Michael Tautschnig writes: > > > src/argp/testsuite/ex3.c:const char *argp_program_bug_address = > > ""; > > src/argp/argp-ba.c:const char *argp_program_bug_address = 0; > > > (The latter goes in src/argp/libargp.a.) > > > > The linker is free to pick either of the values; > > No,

Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-21 Thread Niels Möller
Michael Tautschnig writes: > src/argp/testsuite/ex3.c:const char *argp_program_bug_address = > ""; > src/argp/argp-ba.c:const char *argp_program_bug_address = 0; > (The latter goes in src/argp/libargp.a.) > > The linker is free to pick either of the values; No, the linker does *not* have that

Bug#689441: Conflicting initializers of variable argp_program_bug_address

2012-10-02 Thread Michael Tautschnig
Package: lsh-utils Version: 2.0.4-dfsg-10 While building the package using our research compiler infrastructure we noticed the following conflicting definitions, which end up being linked together: src/argp/testsuite/ex3.c:const char *argp_program_bug_address = ""; src/argp/argp-ba.c:const char