Closed Quuxplusone closed 6 years ago
Bugzilla Link | PR3552 |
Status | RESOLVED FIXED |
Importance | P release blocker |
Reported by | Julien Lerouge (jlerouge@apple.com) |
Reported on | 2009-02-11 13:20:36 -0800 |
Last modified on | 2018-11-07 00:22:05 -0800 |
Version | unspecified |
Hardware | PC All |
CC | anton@korobeynikov.info, dpatel@apple.com, llvm-bugs@lists.llvm.org, llvm@sunfishcode.online, tonic@nondot.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
These are both blockers for the 2.5 release.
Will check
Can someone test if r64316 from trunk fixes the second
issue -- the regression introduced by r61215?
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090209/073612.html
Testing right now... thanks.
... still building, I had to apply the patch here also to build LLVM: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090209/073573.html
Although there seems to be something weird going on with llvm-config, the one generated on my MingW was empty at first. Removing it and rebuilding fixed the pbm though (I'll investigate later).
Ok, r64316 is indeed fixing the pex-win32 error, but I am now hitting a new
assertion later on in the build:
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/gcc-build/./gcc/xgcc -
B/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/gcc-build/./gcc/ -
L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/gcc-build/i686-pc-mingw32/win
sup/mingw -L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/gcc-
build/i686-pc-mingw32/winsup/w32api/lib -isystem
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-gcc4.2-
src/winsup/mingw/include -isystem /c/cygwin/home/jlerouge/bu
ildbot/llvm-test-fixed-gcc4.2-src/winsup/w32api/include -
Bc:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/i686-pc-mingw32/bin/ -
Bc:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/i686-pc-mingw32/lib/ -
isystem c:/cygwin/home/
jlerouge/buildbot/llvm-test-fixed-64316/i686-pc-mingw32/include -isystem
c:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-64316/i686-pc-mingw32/sys-
include -O2 -I../../../llvm-test-fixed-gcc4.2-src/gcc/../winsup/w32api/include
-O2 -g -
O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -
D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../../llvm-test-fixed-gcc4.2-src/gcc -
I../../../llvm-
test-fixed-gcc4.2-src/gcc/. -I../../../llvm-test-fixed-gcc4.2-
src/gcc/../include -I../../../llvm-test-fixed-gcc4.2-src/gcc/../libcpp/include
-I../../../llvm-test-fixed-gcc4.2-src/gcc/../libdecnumber -I../libdecnumber -
Ic:/cygwin/home/j
lerouge/buildbot/llvm-test-fixed-64316/llvm-build/include -
I/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-src/include -DL_mulsc3 -c
../../../llvm-test-fixed-gcc4.2-src/gcc/libgcc2.c -o libgcc/./_mulsc3.o
Assertion failed: StackTop > 0 && "Cannot pop empty stack!", file
c:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-
src/lib/Target/X86/X86FloatingPoint.cpp, line 553
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
../../../llvm-test-fixed-gcc4.2-src/gcc/libgcc2.c:1914: internal compiler
error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[3]: *** [libgcc/./_mulsc3.o] Error 1
make[3]: Leaving directory `/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-
64316/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-
64316/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-
64316/gcc-build'
make: *** [all] Error 2
++ FailedExit
My last try was on the trunk, I will try again on the 2.5 branch to see how far it goes, with Dan's fix.
Building on the 2.5 branch went through (minor glitch because my version of make does not support order-only dependencies, but that's an easy upgrade). Dan's fix is the only patch required to get llvm-gcc on MingW !
Any idea about what's causing the assertion on the trunk ?
Ok the trunk is working now (it wasn't as of rev 64365). I think Evan fixed if
with this one:
------------------------------------------------------------------------
r64374 | evancheng | 2009-02-12 02:32:17 -0800 (Thu, 12 Feb 2009) | 2 lines
Changed paths:
M /llvm/trunk/lib/CodeGen/VirtRegMap.cpp
A /llvm/trunk/test/CodeGen/X86/2009-02-12-SpillerBug.ll
It's (currently) not safe to keep certain physical registers live across basic
blocks, e.g. x86 fp stack registers.
------------------------------------------------------------------------
To summarize:
- trunk is good now (I checked in the Alarm thing and the googletest fix).
- 2.5 branch is fixed if Dan's patch (r64316) is applied and googletest is
disabled.
Tanya, what do you want to do for googletest in 2.5 ? Can you merge Dan's fix ?
Thanks,
Julien
(In reply to comment #9)
> - 2.5 branch is fixed if Dan's patch (r64316) is applied and googletest is
> disabled.
I'm currently testing mingw32 build with Dan's patch integrated. Also, gtest
was completely removed :)
Will post the results as soon as my tests will over
I've merged 64316 into the branch. I've also merged in Mike's changes for googletest and also the changes Julien made.
I believe that is all that is needed for this bug.
I'll need a final verification and then it can be closed.
Ok, I am re-building everything right now. Thanks.
Yep, the build went through. Thanks !