FS#11570 - r27873 breaks w32 cross-compiled sim builds

Attached to Project: Rockbox
Opened by Michael Chicoine (mc2739) - Wednesday, 25 August 2010, 16:57 GMT
Last edited by Michael Chicoine (mc2739) - Thursday, 26 August 2010, 16:56 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Building w32 cross-compiled simulators in linux and cygwin do not build since r27873.

Pondlife opened a thread about the cygwin issue on the forum:

The error produced with the linux w32 cross-compiled simulator is similar:

CC apps/language.c
LD chessclock.rock
LD credits.rock
/home/mc2739/rockbox/test-trunk/build/apps/plugins/plugin_crt0.o: In function `atexit':
/home/mc2739/rockbox/test-trunk/apps/plugins/plugin_crt0.c:41: multiple definition of `_atexit'
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/lib/dllcrt2.o:/build/buildd/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/dllcrt1.c:161: first defined here
collect2: ld returned 1 exit status
make: *** [/home/mc2739/rockbox/test-trunk/build/apps/plugins/chessclock.rock] Error 1
make: *** Waiting for unfinished jobs....
This task depends upon

Closed by  Michael Chicoine (mc2739)
Thursday, 26 August 2010, 16:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with r27893/r27894