[LLVMbugs] [Bug 966] NEW: Turning on predicate simplifier pass breaks llvm-gcc bootstrapping
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Oct 23 13:27:39 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=966
Summary: Turning on predicate simplifier pass breaks llvm-gcc
bootstrapping
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: critical
Priority: P2
Component: Scalar Optimizations
AssignedTo: nicholas at mxc.ca
ReportedBy: evan.cheng at apple.com
We recently added the predicate simplifier pass to llvm-gcc. See
gcc/llvm-backend.cpp
Sometime after 10/21, llvm-gcc bootstrapping broke. There were only a handful of
changes. After eliminating the possibility of Chris' changes may have broke it,
I tried disabling the predsimplfier pass. That did the trick.
Nick, please do a llvm-gcc build:
svn co ... llvm-gcc
cd llvm-gcc
cvs co llvm
mkdir -p build/obj build/dst build/sym
gnumake install RC_OS=macos RC_ARCHS='i386 ppc' TARGETS='i386 ppc' SRCROOT=`pwd`
OBJROOT=`pwd`/build/obj DSTROOT=`pwd`/build/dst SYMROOT=`pwd`/build/sym
The failure looks like this:
./xgcc -B./ -B/usr/local/llvm-gcc-install/i686-apple-darwin8/bin/ -isystem
/usr/local/llvm-gcc-install/i686-apple-darwin8/include -isystem
/usr/local/llvm-gcc-install/i686-apple-darwin8/sys-include -L/Volumes/\
Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/obj-i686-i686/gcc/../ld
-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -fP\
IC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc
-I/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/\
build/obj/src/gcc/.
-I/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc/../include
-I./../intl
-I/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc/../libcpp/include
\
-I/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/llvm/include
-I/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/obj-llvm/include
-DL_muldi3 -c /Volumes/Wildlings/echeng/S\
UBMISSIONS/llvm-submission/build/obj/src/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from
/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc/tsystem.h:47,
from
/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc/libgcc2.c:41:
./include/stddef.h:152: error: storage class specified for parameter 'ptrdiff_t'
./include/stddef.h:214: error: storage class specified for parameter 'size_t'
./include/stddef.h:326: error: storage class specified for parameter 'wchar_t'
In file included from
/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc/tsystem.h:87,
from
/Volumes/Wildlings/echeng/SUBMISSIONS/llvm-submission/build/obj/src/gcc/libgcc2.c:41:
./include/stdarg.h:43: error: storage class specified for parameter '__gnuc_va_list'
./include/stdarg.h:105: error: syntax error before 'va_list'
...
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list