On Wed, 3 May 2006, Anton Korobeynikov wrote:
> You wrote Wednesday, May 3, 2006, 1:41:31 AM:
>
> CL> will fix it. If so, please let me know and I'll update my tree.
If not,
> CL> please get a stack trace of the failure so I can see where it is
called.
> Yes. This fixes the bug. ASM_OUTPUT_EXTERNAL was defined in cygming.h
> and seems to be platform specific. There are also some other platform
> issues, but they can be easily fixed, so, I'll report them at the end
> of all process.
Sounds good. I've integrated the ASM_OUTPUT_EXTERNAL fix, and it went out
in the tarball I sent out this morning.
> Now compilation goes further...
>
> 1. While compiling __main.o from libgcc2 I had complain about
> ".local". It seems, that it isn't supported by win32 version
of as.
> After removing this line and compiling by hand everything goes further
> (generated .s file attached). Maybe X86AsmWriter should be modified?
Probably. Patches welcome :)
> 2. While compiling gthr-win32.c I've got the following exception
> stopped all compilation:
>
> ./cc1.exe -fpreprocessed h:\WINNT\Temp/ccAnbaaa.i -quiet -dumpbase
gthr-win32.c
> -auxbase-strip libgcc/./gthr-win32.o -g -O2 -W -Wall -Wwrite-strings
-Wstrict-p
> rototypes -Wmissing-prototypes -Wold-style-definition -version -o
gthr-win32.s
> GNU C version 4.0.1 LLVM (Apple Computer, Inc. build 5400) (mingw32)
> compiled by GNU C version 3.4.5 (mingw special).
> GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=131012
> Compiler executable checksum: abcac2bc9d947e35dbd545ee6a02bf8f
> Could not match memory address. Inline asm failure!
>
> It seems to be exception in SelectionDAGISel.cpp. .i file attached.
Thanks, I'll take a look.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/