3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
Lluís Batlle i Rossell d8b0834973 unpack-bootstrap-tools: Removing the patch of libstdc++
Although patching it made some programs run (configure tests), some others
crashed with segfault. So I don't think there is any win patching it. The
proper way to solve the bootstrap in the raspberry pi is, as far as I've been
testing, use glibc 2.17 libs in bootstrap-tools with the same ld.so name as the
bootstrapped glibc.

This is a problem inherent in our way to bootstrap, that first replaces
the glibc of a given gcc+glibc (bootstrap-tools) with gcc-wrapper tricks, and
then builds a new gcc. A nicer way would be to build a gcc without glibc,
then the glibc, then the final gcc, as we do with cross-tools.

Some comments about this problem in
https://github.com/NixOS/nixpkgs/issues/234#issuecomment-11764352
2012-12-30 13:53:48 +00:00
..
generic Merge branch 'stdenv-updates' into pi-stdenv-updates 2012-12-28 20:14:01 +00:00
linux unpack-bootstrap-tools: Removing the patch of libstdc++ 2012-12-30 13:53:48 +00:00
mingw removed executable bits from Nix files 2012-04-03 06:31:19 +00:00
native Add an option ‘stdenv.userHook’ to set a global stdenv setup hook 2012-12-28 16:36:09 +01:00
nix Remove trailing whitespace 2012-12-28 16:41:56 +01:00
adapters.nix More renames 2012-12-28 19:42:10 +01:00
common-path.nix * Don't use the "replace-literal" command in stdenv; instead use 2012-01-19 13:47:26 +00:00
default.nix Merge branch 'stdenv-updates' into pi-stdenv-updates 2012-12-28 20:14:01 +00:00