|
Message-ID: <20110504125359.GM277@brightrain.aerifal.cx> Date: Wed, 4 May 2011 08:53:59 -0400 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: using musl with older gcc On Wed, May 04, 2011 at 07:18:09AM +0200, Szabolcs Nagy wrote: > i've just tried out musl > > the install instruction says > > "It requires a version of gcc with the -wrapper option > (gcc 4.x should work)." > > i have 4.3.x and it does not have -wrapper > (it seems 4.4.x has though, you should fix the instructions) You're right. Either this should be fixed, or I should finish the new version of the wrapper that works with older gcc versions. > __stdout_write.c:(.text+0x55): undefined reference to `__stack_chk_fail' > > if i create a dummy __stack_chk_fail function > then the resulting executable segfaults > > this is some newer stackprotection thing > maybe i just have to link some additional > lib to make this error go away > > in the end i recompiled musl with > CFLAGS += -fno-stack-protector > and now everything works fine Yes, some vendors have patched the gcc to make this option default... I will add a note about that. Thanks! Rich
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.