[Chicken-users] Chicken 4.8.0.3 failing with Clang 3.2 and 3.4

2014-04-05 Thread Daniel Leslie
I'm not able to build Chicken 4.8.0.3 with clang, either 3.2 or 3.4. GCC
works well. The build fails with the following:

./libchicken.so: file not recognized: File truncated

Invocation:

make -j4 PLATFORM=linux C_COMPILER=clang

System:

uname -a
Linux dleslie-Aspire-5250 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9
16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Thanks,
-Dan
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Chicken 4.8.0.3 failing with Clang 3.2 and 3.4

2014-04-05 Thread Peter Bex
On Sat, Apr 05, 2014 at 08:23:38AM -0700, Daniel Leslie wrote:
 I'm not able to build Chicken 4.8.0.3 with clang, either 3.2 or 3.4. GCC
 works well. The build fails with the following:
 
 ./libchicken.so: file not recognized: File truncated
 
 Invocation:
 
 make -j4 PLATFORM=linux C_COMPILER=clang

Parallel Make is not really supported.  clang should work fine,
we have successful daily builds for it on Linux:
http://salmonella-linux-x86-64.call-cc.org/master/clang/linux/x86-64/2014/04/05/salmonella-report/
and on FreeBSD:
http://salmonella-freebsd-x86-64.call-cc.org/master/clang/freebsd/x86-64/2014/04/05/salmonella-report/

Please try without -j.  If you're feeling adventurous,
you could try the patches from http://bugs.call-cc.org/ticket/526

Cheers,
Peter
-- 
http://www.more-magic.net

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


Re: [Chicken-users] [ANN] New egg: glfw3

2014-04-05 Thread Alex Charlton

alex.n.charl...@gmail.com writes:

 1) I’m not sure entirely what you’re asking. GLFW on *nix creates the 
 standard libglfw.so, libglfw.so.3, libglfw.so.3.0, two of which are symlinks 
 to the latter. So on *nix it is certainly possible to have different versions 
 installed and just link to the one you want. The only problem with changing 
 the setup file to link to libglfw.so.3 is that it would break on Windows.

 If there is a standard way of conditionally executing code à la CL’s features 
 then I’d be happy to modify the setup file to ensure that it links to version 
 3 on Unix. Otherwise, I’m not sure how you’d get it to run on the test 
 server. Do you have some way of patching eggs?

 2) You’re certainly right. Thanks for catching that!

I just discovered Chicken’s features. I’ve patched the setup file so that it 
links specifically with libglfw.so.3 on *nix. So now this should be able to run 
on the test server along-side the previous glfw egg (so long as libglfw.so is 
pointing to libglfw.so.2).

-- 
Alex


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