view .hgtags @ 1532:a2e491cd0800

Fix source/target confusion that bites Fedora host = target builds. The gcc build exports an LD_LIBRARY_PATH full of target libraries and then calls /bin/sh in the configure stage. If you configure before building, this doesn't cause a problem because the libraries aren't there yet, but c++ has dependencies that trigger a C build before running configuration even if you reorder the steps. On ubuntu this doesn't cause a problem because /bin/sh doesn't link against anything in this LD_LIBRARY PATH, and when building a different architecture the foreign binaries are ignored by the dynamic linker. But on Fedora when host == target /bin/sh links against libgcc_s.so.1 which is in LD_LIBRARY_PATH linked against libc.so.0 which isn't installed on the host, and the attempt to run the shell dies saying it can't find uClibc. The fix is to override the make variable SHELL = sh so it calls ash out of build/host.
author Rob Landley <rob@landley.net>
date Thu, 16 Aug 2012 21:59:27 -0500
parents 250f72e25cda
children 6840ac8ad2d9
line wrap: on
line source

478178b9337bcb1aa7cce39fa81ab67507f0e70d 0.1.0
8b75dee28f400573ce282f3ac8a485b48a2d9fbb 0.0.1
f56cfecf46214588c14428311f7a0f7488c2fb19 0.1.1
2dd9f480ff4efc0ddf0c685a9407ddc93b690f29 0.2.0
ce1ca3d0f95b6da9369d87c9d7e1dd610ecedfa0 0.2.1
dd60fbdf04c74a7af06ee316c782efc57006f57d 0.2.2
c3d2fd8b45cfa3c86f748cb9e759674ec3c88eea 0.3.0
3ca6f52688acb05733552bea3e08f319daf8da04 0.3.1
1a70dfe0a436ef20206451b5c3602f591e3ac349 0.4.0
2925f71bce99513468349b01d7cd5892aa40b047 0.9.0
f2b7db2e4315c94a06c78e0710d66b8aab0ee888 0.9.5
55a526672f43e040803a5ecf14754e76af6dcb53 0.9.6
d0b74a631587e2d929ef7f64f84a9a39aefd564b 0.9.7
563c1abb06d05f63451a15a70b424646c203e9b8 0.9.8
d7485ceb119fdd6975fe5d4845f82daa32427d46 0.9.9
19660e12c1decfc3a17dc12a8ce860deac5a79ba 0.9.10
b9319aa31df816094fe7fc58ef14581f11ed1af5 0.9.11
479bcbb2775eacdfab220070cd8e57ce0be8711b 1.0
a44deb7b4ee0a035dff5aca2f70e0b060db73a6a 1.0.1
a9685aea2a2c5bed20ca4a273f475deca2f8bd7e 1.0.2
4aceeceefb2d259b8a40f17d04cd2b49757de308 1.0.3
707beb993e137b4d88a58f10a2502361fde721a5 1.1.0
ef315a8461c0e25043b42e4697ca8b974b46fac7 1.1.1