[flac-dev] Can't cross-compile from git now.

bat guano batguano999 at hotmail.com
Fri Mar 8 08:39:30 PST 2013


Hi
I have a problem now cross-compiling FLAC from latest git.
With Ubuntu 12.04 and g++-mingw-w64-i686 (4.6.3-1ubuntu5+5ubuntu1).

I think that the problem might have been introduced on 5 Mar 2013 with commit 05609d5 (configure.ac : Add hardening compile options.)

Gives errors like this:-

/home/user/FLAC_build/flac-05609d5/src/libFLAC/.libs/libFLAC.a(ogg_helper.o):ogg_helper.c:(.text+0x173): undefined reference to `___stack_chk_guard'
/home/user/FLAC_build/flac-05609d5/src/libFLAC/.libs/libFLAC.a(ogg_helper.o):ogg_helper.c:(.text+0x45c): undefined reference to `___stack_chk_guard'
/home/user/FLAC_build/flac-05609d5/src/libFLAC/.libs/libFLAC.a(ogg_helper.o):ogg_helper.c:(.text+0x463): undefined reference to `___stack_chk_fail'
collect2: ld returned 1 exit status
make[3]: *** [test_libFLAC++.exe] Error 1
make[3]: Leaving directory `/home/user/FLAC_build/flac-05609d5/src/test_libFLAC++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/FLAC_build/flac-05609d5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/FLAC_build/flac-05609d5'
make: *** [all] Error 2


The previous commit 9d057c7 compiles OK for me.

This is the (failed) build log for commit 05609d5 --> http://pastebin.com/SqWsJX3e
This is the (good) build log for previous commit 9d057c7 --> http://pastebin.com/H4GLXEJB

This is the (failed) build log for latest (8 Mar 2013) commit ae663c3 --> http://pastebin.com/39G6Tv4H
 		 	   		  


More information about the flac-dev mailing list