Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 17 Aug 2011 16:59:52 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Compilation error

* Szabolcs Nagy <nsz@...t70.net> [2011-08-17 16:47:24 +0200]:

> * Rich Felker <dalias@...ifal.cx> [2011-08-17 09:39:13 -0400]:
> > > (i'm not sure where alloca should go, pcc does not provide it)
> > 
> > WTF? alloca cannot be implemented as a function. Does gcc provide an
> > alloca function?
> > 
> 
> i'm not sure how it should work but
> __alloca is defined in libpcc using simple asm trickery
> (modify stackpointer and the values on the stack and return)
> so in case of pcc CFLAGS+=-Dalloca=__alloca works

sorry
pcc has __builtin_alloca
so -Dalloca=__builtin_alloca works

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.