[llvm-commits] [llvm-gcc-4.2] r56905 - in /llvm-gcc-4.2/trunk/gcc: c-common.c config/i386/darwin.h config/rs6000/darwin.h

Anton Korobeynikov anton at korobeynikov.info
Wed Oct 1 09:49:18 PDT 2008


Hi, Devang

> Fix newbie hack that attempted to enable format security warnings by default on darwin platform.
These patches causes breakage of llvm-gcc compilation on non-Darwin
platform. The problem is seen during libiberty compilation: configure
does not find stdlib.h and also other .h files. The corresponding
lines in config.log:

configure:3691: checking for stdlib.h
configure:3704:
/home/asl/proj/llvm/llvm-gcc-4.2/build/./prev-gcc/xgcc
-B/home/asl/proj/llvm/llvm-gcc-4.2/build/./prev-gcc/
-B/home/asl/proj/llvm/llvm-gcc-4.2/install/x86_64-unknown-linux-gnu/bin/
-E  conftest.c
cc1: warning: -Wformat-security ignored without -Wformat
configure:3710: $? = 0
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <stdlib.h>

Please investigate

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list