Date: Wed, 17 Aug 2011 12:33:28 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Compilation error * Szabolcs Nagy <nsz@...t70.net> [2011-08-08 09:08:17 +0200]: > * Rich Felker <dalias@...ifal.cx> [2011-08-07 18:00:25 -0400]: > > > (for some reason dynamic linking with musl fails now if i > > > compile musl with pcc imho it used to work..) > > > > Can you find where it fails? > > > > the only change to the linker flags is -L/path/to/pcclibs -lpcc > instead of -lgcc, so either pcc does not call ld properly > or there is some issue with -lpcc > i've just rechecked this and the problem simply was that libpcc.a was not compiled with -fPIC (it used to work because i didn't specify -lpcc when building libc.so and later i only tried dynamic linking with pcc which adds -lpcc automatically so there were no missing symbols) but i guess it would be nice if musl implemented long long arithmetics and made -lpcc/-lgcc unnecessary (i'm not sure where alloca should go, pcc does not provide it)
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.