-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrapCC, wrapBintools: use absolute paths #314920
base: staging
Are you sure you want to change the base?
Commits on Aug 26, 2024
-
wrapCC, wrapBintools: use absolute paths
It is important to use absolute paths to support compiling for different platforms with the same target prefix (e.g. otherwise identical but statically linked platform, or enabling some CPU extensions for host platform that build platform does not support). For example, it is common to set ```nix depsBuildBuild = [ buildPackages.stdenv.cc ]; ``` and we don’t want to use CC{,_FOR_BUILD} from PATH lookup in such cases. See also doc/stdenv/cross-compilation.chapter.md.
Configuration menu - View commit details
-
Copy full SHA for d8f18a9 - Browse repository at this point
Copy the full SHA d8f18a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d4d1fc - Browse repository at this point
Copy the full SHA 6d4d1fcView commit details -
glibcCross: fix compiler variables in libgcc
C/C++ toolchain variables use absolute paths now, so no need to add workarounds for these in libgcc.
Configuration menu - View commit details
-
Copy full SHA for 97d9c0e - Browse repository at this point
Copy the full SHA 97d9c0eView commit details -
gcc: do not reset ld flags when setting dynamic linker
This change supresses error when $bintools/nix-support/libc-ldflags-before file does not exist and also avoids resetting ld flags when setting dynamic linker (this seems to be the correct behavior and doesn’t look like it breaks anything else).
Configuration menu - View commit details
-
Copy full SHA for c040cc9 - Browse repository at this point
Copy the full SHA c040cc9View commit details -
gcc: set CFLAGS/CXXFLAGS/LDFLAGS for host platform
Discovered by accident when building without strip program that we actually need these variables to avoid building GCC with debug information (these variables default to `-g -O2`). Note that GCC 5 has been removed from Nixpkgs in 20.03 release (see nixos/doc/manual/release-notes/rl-2003.section.md).
Configuration menu - View commit details
-
Copy full SHA for 43bfbc9 - Browse repository at this point
Copy the full SHA 43bfbc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 055e8b4 - Browse repository at this point
Copy the full SHA 055e8b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 713905d - Browse repository at this point
Copy the full SHA 713905dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f8f42 - Browse repository at this point
Copy the full SHA a8f8f42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14de2c5 - Browse repository at this point
Copy the full SHA 14de2c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4408cda - Browse repository at this point
Copy the full SHA 4408cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e447c8 - Browse repository at this point
Copy the full SHA 2e447c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31be8f7 - Browse repository at this point
Copy the full SHA 31be8f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10a2ccd - Browse repository at this point
Copy the full SHA 10a2ccdView commit details -
fast-downward: remove unnecessary CC/CXX exports
These are not needed now that we set CC/CXX to absolute paths.
Configuration menu - View commit details
-
Copy full SHA for e05e2b1 - Browse repository at this point
Copy the full SHA e05e2b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 380f165 - Browse repository at this point
Copy the full SHA 380f165View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6d72d1 - Browse repository at this point
Copy the full SHA d6d72d1View commit details