Bootstrap failure for mingw target

Kai Tietz ktietz70@googlemail.com
Thu May 28 13:28:00 GMT 2009


Hi,

caused be recent changes we see a bootstrap failure on trunk. It is
reasoned by the mis-treating of __declspec(dllexport) attribute on
variables. I assume it breaks also cygwin build, but I didn't tested
it until now. We get:

#
libtool: compile:  /home/nightstrike/a/build/gcc/obj/./gcc/xgcc
-B/home/nightstrike/a/build/gcc/obj/./gcc/
-L/home/nightstrike/a/build/gcc/obj/x86_64-w64-mingw32/winsup/mingw
-L/home/nightstrike/a/build/gcc/obj/x86_64-w64-mingw32/winsup/w32api/lib
-isystem /home/nightstrike/a/build/gcc/gcc/winsup/mingw/include
-isystem /home/nightstrike/a/build/gcc/gcc/winsup/w32api/include
-B/home/nightstrike/a/build/root/x86_64-w64-mingw32/bin/
-B/home/nightstrike/a/build/root/x86_64-w64-mingw32/lib/ -isystem
/home/nightstrike/a/build/root/x86_64-w64-mingw32/include -isystem
/home/nightstrike/a/build/root/x86_64-w64-mingw32/sys-include -c -I.
-I/home/nightstrike/a/build/gcc/gcc/libobjc -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions
-I/home/nightstrike/a/build/gcc/gcc/libobjc/objc
-I/home/nightstrike/a/build/gcc/gcc/libobjc/../gcc
-I/home/nightstrike/a/build/gcc/gcc/libobjc/../gcc/config
-I../.././gcc -I/home/nightstrike/a/build/gcc/gcc/libobjc/../include
/home/nightstrike/a/build/gcc/gcc/libobjc/archive.c  -DDLL_EXPORT
-DPIC -o .libs/archive.o
#
In file included from
/home/nightstrike/a/build/gcc/gcc/libobjc/objc/runtime.h:38,
#
                 from /home/nightstrike/a/build/gcc/gcc/libobjc/archive.c:26:
#
/home/nightstrike/a/build/gcc/gcc/libobjc/objc/objc-api.h:365:
internal compiler error: tree check: expected function_decl, have
var_decl in handle_dll_attribute, at tree.c:4172
#
Please submit a full bug report,
#
with preprocessed source if appropriate.
#
See <http://gcc.gnu.org/bugs.html> for instructions.
#

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Gcc-patches mailing list