summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts/bootstrap-prefix: add support for Darwin Clang bootstrap pathHEADmasterAlexey Sokolov2024-10-181-25/+127
| | | | | | | | | This is a slightly modified version of https://github.com/gentoo/prefix/pull/34/commits/6319cbe1d15c3831bd4a2e5b52c4367abc68747d Bug: https://bugs.gentoo.org/758167 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: use newer cmake too bootstrapFabian Groffen2024-10-181-4/+5
| | | | | Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-libs/libbsd: fix ManifestFabian Groffen2024-10-101-1/+4
| | | | | Closes: https://bugs.gentoo.org/941230 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/binutils-config: bump EAPIFabian Groffen2024-10-091-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-config-1.9.1: cleanup oldFabian Groffen2024-10-093-126/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-libs/libbsd: sync with gx86Fabian Groffen2024-10-093-40/+98
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot (for macOS Sequoia)Fabian Groffen2024-10-011-3/+3
| | | | | | | | | - add timeout to wget (because defaults are unbearable, and gnu is down for the moment) - update snapshot including gcc-14.2.0 fix for macOS - add sed-4.9 to the list of seds to try Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: switch compiler to a properly bootstrapped oneFabian Groffen2024-09-301-6/+21
| | | | | | | | | | We need include-fixed headers and the machinery around it, besides that it is highly discouraged to skip bootstrapping on "foreign" envs as the one we're in at stage2. Rename USE=bootstrap to USE=system-bootstrap Update coreutils bootstrap to 9.5 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.2.0: remove FLT16 fix, properly resolved via fix-includesFabian Groffen2024-09-301-9/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: ensure fix-includes are used on Prefix guest platformsFabian Groffen2024-09-301-0/+5
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc: replace USE=bootstrap with USE=system-bootstrapFabian Groffen2024-09-293-6/+6
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.2.0: avoid using incompatible __FLT_EVAL_METHOD__Fabian Groffen2024-09-291-0/+9
| | | | | | | | For GCC to use FLT16 mode it needs its own fix-included headers, so during build it should not try to use it, as the system headers don't support this. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: try harder to find matching SDK to OSFabian Groffen2024-09-281-3/+5
| | | | | | | When xcrun returns the latest SDK, no symlink is present, so don't use that to decide whether or not to find a matching SDK on macOS. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: drop obsolete darwin rpath workaroundFabian Groffen2024-09-281-22/+0
| | | | | | | This has been fixed for some time, and for sure in GCC-14 versions we use. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.2.0: fix interoperability with Clang 16's asFabian Groffen2024-09-232-1/+18
| | | | | | | Sequoia comes with Clang 16 which requires explicitness for reading from pipe Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: sync with gx86Fabian Groffen2024-09-231-62/+59
| | | | | Closes: https://bugs.gentoo.org/940173 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot dateFabian Groffen2024-09-231-1/+1
| | | | | | | This brings in a profile for Darwin24 (Sequoia) but not a working bootstrap for that platform yet. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.2.0: version bump (should fix Darwin24)Fabian Groffen2024-09-194-124/+143
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: use libffi-3.4.5 for Darwin24Fabian Groffen2024-09-181-0/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: remove automatic CPU_FLAGS_* settingFabian Groffen2024-09-051-41/+0
| | | | | | | | It doesn't do much, and turns the Prefix from generic to specific to the running machine, which is an undesirable side-effect. Closes: https://bugs.gentoo.org/939038 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: use DISABLE_USE for circular depsFabian Groffen2024-08-211-18/+20
| | | | | | | | | Use set of USE-flags that are necessary to break circular deps, and reduce more to just weed unnecessary dependencies. Use DISABLE_USE for the circular ones so they can be properly reused. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: try and fix cyclic deps for nghttp2Fabian Groffen2024-08-211-89/+59
| | | | | | | | bring back the old code which used a minimal set of USE-flags to mask which is necessary to break cycles such as one involving nghttp2 and curl. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: first complete @system before using USE-flagsFabian Groffen2024-08-201-1/+11
| | | | | | | | | Complete @system before trying to set default USE-flags. This may cause re-compilations but is necessary to avoid circular deps e.g. with curl, so take the extra step, much like how in the past we would emerge -e @world after @system. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: drop bits that assume we don't have a C++ compilerFabian Groffen2024-08-201-17/+0
| | | | | | | The situation where we bootstrap with a non-C++ compiler is long gone. Closes: https://bugs.gentoo.org/803551 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: ensure etc/portage/profile exists before writingFabian Groffen2024-08-201-2/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: avoid USE=cet with binutils during bootstrapFabian Groffen2024-08-191-0/+4
| | | | | | | | | | the host compiler used may not support CET, causing binutils to fail, so wait for that later when we got our own compiler Thanks hsk17 for the analysis and proposed fix. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: workaround binutils being dep-cleanedFabian Groffen2024-08-191-0/+5
| | | | | | | Thanks hsk17 for noticing and providing a patch. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: try and unify USE-flag disablingFabian Groffen2024-08-191-14/+26
| | | | | | | | | | As pointed out by hsk17, we have two places in which we disable different sets of USE-flags, try to unify them. In addition add http3, quic and curl_quic_openssl during bootstrap. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: set CPU_FLAGS_* when we canFabian Groffen2024-08-111-0/+41
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/java-utils-2: sync with gx86Fabian Groffen2024-08-101-22/+44
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc: drop oldFabian Groffen2024-08-105-603/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: drop T variable hack from 2009Fabian Groffen2024-08-101-4/+1
| | | | | | | | | Drop hack to avoid T being defined due to interference with libgcc's makefiles. It seems it still references @T, but it seems non-Prefix should've picked up on that too, so I'm willing to try without this fix. Bug: https://bugs.gentoo.org/286494 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: sync with gx86Fabian Groffen2024-08-101-106/+362
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain-funcs: use gx86 versionFabian Groffen2024-08-101-1277/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain-funcs: sync with gx86Fabian Groffen2024-08-101-15/+17
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain-funcs: return arch from tc-ninja_magic_to_archFabian Groffen2024-08-091-9/+2
| | | | | | | For some reason Prefix has been returning whole keywords, but this doesn't seem to work very well on consumer, such as go-env.eclass Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/python-utils-r1: use gx86 versionFabian Groffen2024-08-071-1620/+0
| | | | | | | stacked prefix support is no longer in use, if we need it we should see about it then Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/python-utils-r1: sync with gx86Fabian Groffen2024-08-071-2/+69
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot for Solaris fixesFabian Groffen2024-07-301-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-apps/coreutils-9.5: version bump, add Solaris fixFabian Groffen2024-07-263-0/+365
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: use isainfo to pick up current archFabian Groffen2024-07-251-1/+7
| | | | | | | uname -p on Solaris will return historical values, so use isainfo to get the currently targetted architecture Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: disable USE=pie for Solaris bootstrapFabian Groffen2024-07-251-0/+7
| | | | | | | | Host compiler doesn't like -pie in the workload it has to do during bootstrap, so go through lengths to disable it. (Why can't we just override masks/forces from base?) Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: avoid emitting pie arguments when unsetFabian Groffen2024-07-241-0/+5
| | | | | | | Like host-bind-now, the configure-foo for these pie arguments is messed up and whenever enabled/disabled enabled Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: make macOS Ventura and up skip GCC5Fabian Groffen2024-07-241-0/+1
| | | | | | | The host toolchain cannot compile GCC-5, but it *can* compile GCC-14, which is exactly what we need, so skip GCC-5. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: emulate readlink -f behaviour for older macOSFabian Groffen2024-07-231-2/+9
| | | | | | | Avoid some ugly warning and fallback to (likely) wrong SDK with failures as result due to not expanding the MacOSX.sdk symlink properly. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: be selective on where to use GCC-5 in stage1Fabian Groffen2024-07-221-9/+21
| | | | | | | GCC-5 doesn't compile on ARM64, newer versions of macOS might also prove to be capable of compiling GCC-14. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: use GCC-5 on all Darwin bootstrapsFabian Groffen2024-07-211-50/+122
| | | | | | | | | | | | | | | | | With recent macOS we need GCC-14 in order to make sense of system headers. However, GCC-14 gets confused by (older) Clang installed on the host system. So we need GCC-5 to get us a C11/C++11 compiler that can compile GCC-14 to do the real work. Unfortunately for GCC-5 to work properly on systems that do not have /usr/{include,lib} we need wrappers such as we use in Gentoo Prefix proper, thus part of that needs to be pulled and put in place too in order to get correctly compiled and running binaries. This change succeeds bootstrap on Darwin 17, 19 and 20, 21 and 22 pending. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: improve emake error reportingFabian Groffen2024-07-211-1/+4
| | | | | | | If make fails, run with forced -j1 to get a clearer error for debugging purposes. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.1.0: bring back src_configure for SolarisFabian Groffen2024-07-181-0/+47
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.1.0: version bumpFabian Groffen2024-07-173-154/+99
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>