You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(gcc): add 16.1.0 (latest) and apply sandbox-fix install template
Add the GCC 16.1 series and re-point latest -> 16.1.0:
["latest"] = { ref = "16.1.0" }
["16.1.0"] = { url, sha256 = 50efb4d94c3397aff3b0d61a5abd748b4dd31d9d3f2ab7be05b171d36a510f79 }
Rewrite install() to follow the cluster-A sandbox-fix template:
* paths from path.directory(pkginfo.install_file()) instead of
path.absolute (path.absolute is nil under xlings 0.4.9 sandbox).
* download_prerequisites + configure + make + make install chained
in a single `sh -c` so cwd persists (os.cd does not propagate to
system.exec children).
* fixed -j8 (os.cpuinfo is nil).
* pkgversion tag: "xlings-fromsource".
Verified end-to-end in an isolated xlings 0.4.9 environment:
✓ download_prerequisites (gmp/mpfr/mpc/isl) ok
✓ configure --disable-multilib --disable-bootstrap --enable-libsanitizer ok
✓ make -j8 (~28 min) ok
✓ make install ok
✓ produced gcc/g++/c++/cpp/gcc-ar/gcc-nm/gcc-ranlib/gcov{,-dump,-tool}
✓ `gcc --version` -> "gcc (xlings-fromsource) 16.1.0"
✓ compile + run hello.c -> __GNUC__ / __GNUC_MINOR__ / __GNUC_PATCHLEVEL__
expand to 16/1/0, exit code 0
✓ gcc-specs-config rewrites dynamic linker + rpath into iso subos
Earlier versions (9.4.0 .. 15.1.0) remain unchanged.
0 commit comments