Hi,

On Fri, 17 Jan 2014 16:47:18 +1300 Evan Hanson <ev...@foldling.org> wrote:

> (Patch CC'd to -hackers.)
>
> On 2014-01-05 15:45, J Altfas wrote:
>> That message looked awfully familiar!  Sure enough, the issue had 
>> been discussed in this list in Feb 2013.  At the time jcowan 
>> suggested there was a bug in clang: it didn't handle the -R and -z 
>> parameters in the same invocation.
>> 
>> Looking into it, in fact the bug is in CHICKEN.  Turns out the "-z" 
>> flag is really a linker vs. compiler flag, so the "-z origin" 
>> incantation needs to be passed to the linker.  Here's a patch that 
>> fixes the problem:
>
> Thanks for reporting this (again!). I was able to duplicate it, and it
> seems "-z" should indeed be passed as a linker flag; attached is a `git
> am`-formatted patch that fixes the issue (it actually implements Vitaly
> Magerya's suggested fix from the original thread[1]). I don't see a
> reason this shouldn't have been added after that first discussion, but I
> think it's probably just because a patch never bubbled up up anywhere,
> so thank you.
>
> [1]: https://lists.gnu.org/archive/html/chicken-users/2013-02/msg00085.html

Sorry for the late reply.  Just tested the current master (Christian
pushed the patch) on FreeBSD 10.0 (clang) and confirmed it works fine.
Thanks, guys.

Best wishes.
Mario
-- 
http://parenteses.org/mario

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to