|
Message-ID: <20140507130443.72c74f47@vostro> Date: Wed, 7 May 2014 13:04:43 +0300 From: Timo Teras <timo.teras@....fi> To: musl@...ts.openwall.com Cc: scjthm@...e.com Subject: Re: Linking musl with ld.gold On Wed, 7 May 2014 10:04:24 +0100 Stephen Thomas <scjthm@...e.com> wrote: > > only the object files with referenced symbols are linked from an > > archive > > > > so only a.o with the given main.o because of the symbol f > > > > now if you make some reference in main.c such that b.o should > > be included but main still returns 0 that would be a bug > > > > eg. add a void g(void){} to b.c and call it from main.c > > Ok, thanks for that info. It appears that there is a problem in gcc > 4.9 and not 4.8.3. Is perhaps -ffunction-sections and/or -fdata-sections added automatically? Those would break musl like experienced. - Timo
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.