| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Update the copyright notice on all files that were touched since
January 1st but did not have the notice updated.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/706588
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
gnal-gpl was the only user of GCC_A_FAKEIT as it provided
modified gcc tarballs. It was migrated to GCC_TARBALL_SRC_URI
to override default tarball.
Bug: https://bugs.gentoo.org/706588
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
dev-lang/gnat-gpl migrated from GCC_CONFIG_VER to TOOLCHAIN_GCC_PV.
Bug: https://bugs.gentoo.org/706588
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before tha change toolchain_src_unpack() did not unpack every SRC_URI
entry and instead relied on toolchain_src_unpack() to unpack only
needed tarballs. Any special handling was only needed for old USE=d
versions of gcc.
This change moves all source code mangling to src_prepare() and makes
toolchain_src_unpack() a default_src_unpack().
The only exception is ebuild users of 'GCC_A_FAKEIT' (dev-lang/gnat-gpl)
who have to use it to workaround non-standard behaviour of toolchain_src_unpack()
The change will allow dev-lang/gnat-gpl to migrate to default_src_unpack().
Bug: https://bugs.gentoo.org/706588
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
To ease gnal-gpl packaging allow external user to override SRC_URI
for main gcc tarball. gnal-gpl uses gcc small fork, but otherwise
looks like a gcc tarball.
Bug: https://bugs.gentoo.org/706588
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
dev-lang/gnat-gpl uses ${GCC_CONFIG_VER} to override exposed gcc
version. Let's keep it nonfatal until ada ebuilds are fixed.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
dev-lang/gnat-gpl ebuilds override this option and affect at
least default slot installed. Let's partially revert the behaviour
until ada is migrated.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
${GCC_CONFIG_VER} != ${GCC_RELEASE_VER} does not really
work today. We don't override enough paths and don't rename
tool versions.
Let's keep thins simpler and stick to upstream versioning.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/706240
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc's mirrors don't have prerelrease directories anymore
and only have weekly snapshots and release candidates.
Those now are covered by the following version schema:
1.0.0_pre9999: live ebuild
1.2.3_alphaYYYYMMDD: weekly snapshots
1.2.3_rcYYYYMMDD: release candidates
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
The bug is in lexical comparison instead of version compare.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/704784
Bug: https://gcc.gnu.org/PR93157
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on ppc64 gcc assumes the following:
from gcc ppc64 manual:
-mabi=elfv1
Change the current ABI to use the ELFv1 ABI. This is the default ABI
for big-endian PowerPC 64-bit Linux. Overriding the default ABI
requires special system support and is likely to fail in spectacular
ways.
-mabi=elfv2
Change the current ABI to use the ELFv2 ABI. This is the default
ABI for little-endian PowerPC 64-bit Linux. Overriding the
default ABI requires special system support and is likely to
fail in spectacular ways.
Since we are taking gcc defaults, let's pass --with-abi=elfv2 on musl
targets
without it it will fail, since musl does not support elfv1 at all.
from musl INSTALL file:
* PowerPC64
* Both little and big endian variants are supported
* Compiler toolchain must provide 64-bit long double, not IBM
double-double or IEEE quad
* Compiler toolchain must use the new (ELFv2) ABI regardless of
whether it is for little or big endian
https://git.musl-libc.org/cgit/musl/tree/INSTALL
Closes: https://github.com/gentoo/gentoo/pull/14234
Closes: https://bugs.gentoo.org/704784
Revieved-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
|
| |
'asan' wants to be preloaded first, so does 'sandbox'.
To make asan tests work disable sandbox for all of test suite.
'backtrace' tests also does not like 'libsandbox.so' presence.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Reported-by: Rolf Eike Beer
Closes: https://bugs.gentoo.org/701270
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit d16e2840220 ("rename USE=regression-test to USE=test")
added a 'RESTRICT="!test? ( test )"' assignment and accidentally
overrode existing RESTRICT="strip" one. That reintroduced excessive
stripping regression.
Move RESTRICT assignments closer to one another and restore
RESTRICT="strip".
Reported-by: sargastic@gmail.com
Closes: https://bugs.gentoo.org/699446
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc-8.3 is stable on all the platforms for a while. Renaming
'regression-test' to 'test' for older ebuilds as well.
While at it:
- make test runs unconditional
- drop installation of test results
- add RESTRICT="!test? ( test )"
- drop 'regression-test' from metadata files
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
-mstackrealign breaks stack unwinding via _Unwind_RaiseException
in libgcc_s.so.1. Not clear why exactly. Probably by breaking
unwinding information during realignment.
The change works it around by dropping -mstackrealign when building gcc.
Reported-by: Erik
Bug: https://bugs.gentoo.org/688580
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before the change we stripped no binaries or object files
for gcc on any EAPI.
After the change we strip all native binaries, libraries
and object files (only on EAPI=7).
Non-native binaries (cross-compiler case) is skipped by
means of 'dostrip -x'.
Bug: https://bugs.gentoo.org/686512
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/584858
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
No functional changes.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
tc_apply_patches applies all patches and patchsets.
Will ease eventual migration to EAPI=7.
While at it dropped use of EPATCH_SUFFIX.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
::gentoo and ::toolchain don't have any ebuilds using PIE patchset.
If someone really needs to resurrect these old patches it's easier
to reshuffle the patchset itself.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
BRANCH_UPDATE needs explicit tarball creation. Live ebuilds
or weekly snapshots suit better for tracking upstream development.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Cleanup. No functional change.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
toolchain.eclass constructs correct GCC_PATH since 2007:
commit 7d9f89700a2ee50674c0d871ec6d21b468ac6206
("start moving to GCC_PATH for env.d #174422 and cleanup "
"gcc-config logic so that it doesnt matter what the ROOT value is")
gcc-config moved over as well. Let's leave GCC_PATH as
the only available variable to locate gcc's whereabouts.
Bug: https://bugs.gentoo.org/174422
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From #gentoo-toolchain:
"""
<+[Arfrever]> It will cause that empty /etc/revdep-rebuild directory
will be installed by gcc. Please move dodir to after
'is_crosscompile || return 0'.
<+[Arfrever]> ${revdep_rebuild_file} should be quoted.
"""
Reported-by: Arfrever Frehtes Taifersar Arahesis
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/lib/gcc/${CTARGET}/${GCC_CONFIG_VER} contains libraries
destined to be used by ${CTARGET}. revdep-rebuild complains
about missing dependencies against them as we don't populate
LDPATH (or anything else) for them.
The change populates /etc/revdep-rebuild/05cross-${CTARGET}-${GCC_CONFIG_VER}
with a single entry:
SEARCH_DIRS_MASK="/usr/lib/gcc/${CTARGET}/${GCC_CONFIG_VER}"
crossdev will still own root's SEARCH_DIRS_MASK="/usr/${CTARGET}".
Reported-by: crocket
Closes: https://bugs.gentoo.org/692844
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
USE=nptl is neededonly for compilers that target userspace.
kgcc64 is for building kernels only.
Reported-by: Rolf Eike Beer
Closes: https://bugs.gentoo.org/642932
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/552882
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
|
|
|
|
| |
Reported-and-fixed-by: Hristo Venev
Bug: https://bugs.gentoo.org/572480
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
USE=cxx presence on typical systems is maintained by
profiles/base/package.use.force entry. Let's drop
silent override from the eclass.
Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/692126
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/690686
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc-config-2 changed /usr/bin/gcc from a binary to symlink
in commit b907ef80bc421df23515afc4c306e4d96c67649
("Convert binary wrapper to a symlink wrapper.")
Before the above change /usr/bin/gcc worked in both cases
when active cross-gcc is being uninstalled. After the above
change symlink becomes dangling.
The change runs `gcc-config` more aggressively.
Reported-by: Pietro
Closes: https://bugs.gentoo.org/680360
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
|
|
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/685634
Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|