chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] OS X: clang's failing 'make check' w/ 4.8.0rc3 tarball


From: Derrell Piper
Subject: [Chicken-hackers] OS X: clang's failing 'make check' w/ 4.8.0rc3 tarball
Date: Sun, 09 Sep 2012 14:48:41 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin)

Hi,

The 4.8.0rc3 tarball built with clang is failing 'make check' on OS X
using the command_line_tools_for_xcode_os_x_mountain_lion_aug_2012.dmg
tools (from the Apple Developer Downloads section).  gcc's fine and
clang builds okay, it's only the 'make check' that's failing.

build commands used:
  make PLATFORM=macosx ARCH=x86-64
  make PLATFORM=macosx ARCH=x86-64 C_COMPILER=clang

gcc says:
  fluffy584% gcc --version
  i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
(LLVM build 2336.11.00)
  Copyright (C) 2007 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

clang says:
  fluffy570% clang --version
  Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
  Target: x86_64-apple-darwin12.1.0
  Thread model: posix

Here's the failing part:

fluffy565% make PLATFORM=macosx C_COMPILER=clang check
           .    
           .
           .
(procedure (*) *) != (procedure () *)
(procedure () *) != (procedure (*) *)
(procedure (#!rest) . *) = (procedure (*) . *)
(procedure (*) . *) = (procedure (#!rest) . *)
(procedure () *) != (procedure () * *)
(procedure () * *) != (procedure () *)
../chicken scrutiny-tests.scm -output-file a.c -verbose -include-path .. 
-scrutinize -ignore-repository -types ../types.db -verbose
clang a.c -o a.o -c  -no-cpp-precomp -fno-strict-aliasing -fwrapv -fno-common 
-DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -I.. 
-I"/usr/local/include/chicken"
rm a.c
clang a.o -o a.out -m64 -L.. -L"/usr/local/lib" -lchicken -lm
install_name_tool -change libchicken.dylib /usr/local/lib/libchicken.dylib a.out
rm a.o
--- scrutiny.expected   2012-08-30 22:00:02.000000000 -0700
+++ scrutiny.out        2012-09-09 13:29:24.000000000 -0700
@@ -97,3 +97,17 @@
   (scrutiny-tests.scm:136) in procedure call to `+', expected argument #2 of 
type `number', but was given an argument of type `symbol'
 
 Warning: redefinition of standard binding: car
\ No newline at end of file
+In file included from a.c:11:
+../chicken.h:2292:1: warning: control may reach end of non-void function 
[-Wreturn-type]
+}
+^
+../chicken.h:2299:1: warning: control may reach end of non-void function 
[-Wreturn-type]
+}
+^
+../chicken.h:2336:1: warning: control may reach end of non-void function 
[-Wreturn-type]
+}
+^
+../chicken.h:2344:1: warning: control may reach end of non-void function 
[-Wreturn-type]
+}
+^
+4 warnings generated.




reply via email to

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