Re: [Chicken-users] Error with clang/FreeBSD

2013-02-16 Thread Christian Kellermann
* jrap...@bmedctr.com jrap...@bmedctr.com [130215 23:36]: ### FROM: Felix fe...@call-with-current-continuation.org ### ON: Fri, 15 Feb 2013 20:49:20 0100 (CET) From: Vitaly Magerya vmage...@gmail.com Subject: Re: [Chicken-users] Error with clang/FreeBSD Date: Fri, 15 Feb 2013 20:07

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Felix
Unconnected to the above, I'll mention there appears to be a (very) small error in types.db that's been hanging on for quite a while. The declaration for join is: (join (#(procedure #:clean #:enforce) join (list list) list)) When compiling (join r) ... where r is a list of lists --

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Felix
-- csc-orig.scm 2013-02-12 20:47:23.194996000 -0800 csc.scm 2013-02-12 20:47:23.194996000 -0800 @@ -274,7 274,9 @@ (else (list (conc -L\ library-dir \ (if (and deployed (eq? (software-version) 'freebsd)) - (list -z origin) (if (string=?

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Vitaly Magerya
Felix wrote: -- csc-orig.scm 2013-02-12 20:47:23.194996000 -0800 csc.scm 2013-02-12 20:47:23.194996000 -0800 @@ -274,7 274,9 @@ (else (list (conc -L\ library-dir \ (if (and deployed (eq? (software-version) 'freebsd)) - (list -z origin) (if

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread jrapdx0
### FROM: Vitaly Magerya vmage...@gmail.com ### ON: Fri, 15 Feb 2013 13:08:58 0200 Felix wrote: -- csc-orig.scm2013-02-12 20:47:23.194996000 -0800 csc.scm2013-02-12 20:47:23.194996000 -0800 @@ -274,7 274,9 @@ (else (list (conc -L\ library-dir \

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Vitaly Magerya
jrap...@bmedctr.com jrap...@bmedctr.com wrote: However, I keep wondering how the version compiled without '-z origin' managed to pass the deployment test at all, if in fact '-z origin' is really necessary in order for the deployed application to find the necessary files. Is the test really

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Vitaly Magerya
Previously I wrote: The correct thing to do here is to change '-z origin' into '-Wl,-z,origin'. This way both GCC and Clang will do the right thing. (I currently tested this by compiling C files; I'll be able to test csc modified that way in a dozen of hours or so, unless any of you folks do

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Felix
From: Vitaly Magerya vmage...@gmail.com Subject: Re: [Chicken-users] Error with clang/FreeBSD Date: Fri, 15 Feb 2013 20:07:30 +0200 Previously I wrote: The correct thing to do here is to change '-z origin' into '-Wl,-z,origin'. This way both GCC and Clang will do the right thing. (I

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread Vitaly Magerya
Felix fe...@call-with-current-continuation.org wrote: Yup, just tested csc modified that way; -deploy works correctly with gcc, clang and even pcc. Did you build chicken with pcc? Nope, and now that I tried, I can't do it either (it complains about dynamic relocations in crt1.o). What I did

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-15 Thread pdx
### FROM: Vitaly Magerya vmage...@gmail.com ### ON: Fri, 15 Feb 2013 20:58:04 0200 jrap...@bmedctr.com jrap...@bmedctr.com wrote: However, I keep wondering how the version compiled without '-z origin' managed to pass the deployment test at all, if in fact '-z origin' is really

[Chicken-users] Error with clang/FreeBSD

2013-02-13 Thread jrapdx0
Hello, Compiling Chicken (git/master) under FreeBSD-9.1 stable (r246700) with clang-3.2, 'gmake check' stopped with an error near the very end of the test run: deploym ent tests retrieving ... .. clang rev-app.c -o rev-app.o -c -fno-strict-aliasing

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-13 Thread John Cowan
jrap...@bmedctr.com scripsit: I wasn't familiar with the '-z' option, and I gleaned it's used by the gnu linker. Since this option is invoked only with -deploy in the test suite, I'm not really sure of its purpose. It may be needed by gcc, but '-z origin' was indigestible by clang. In the

Re: [Chicken-users] Error with clang/FreeBSD

2013-02-13 Thread jrapdx0
### FROM: John Cowan co...@mercury.ccil.org ### ON: Wed, 13 Feb 2013 12:43:28 -0500 jrap...@bmedctr.com scripsit: I wasn't familiar with the '-z' option, and I gleaned it's used by the gnu linker. Since this option is invoked only with -deploy in the test suite, I'm not really sure