chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] [Chicken-hackers] Patch for FreeBSD link error


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] [Chicken-hackers] Patch for FreeBSD link error
Date: Mon, 20 Jan 2014 00:53:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi,

On Fri, 17 Jan 2014 16:47:18 +1300 Evan Hanson <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]