| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is ancient brittle code -- an ancient, unmaintained version of GCC.
It exists solely to provide access to an ancient, unmaintained version
of libstdc++.so for ancient, unmaintained binaries that cannot be
rebuilt.
It doesn't need to be fast, or have cool CFLAGS. People shouldn't even
be using it at all. The people who do use it care about compatibility
more than anything else, so successfully compiling it should be taken as
the gift that it is.
With that in mind, we basically strip all flags. We preserve some
existing logic to handle -march= values known to exist in this old gcc,
and we continue to support -O levels, but we go no further. It's
entirely impractical to support arbitrary flags, since every gcc release
adds more flags that old versions don't support and then this fails
because GCC 3's internal xgcc build cannot handle them.
We also take this opportunity to add a workaround for modern C. New
versions of GCC barf on some of the code here because it is not legal
C99, but again, the point of this package is to provide legacy
compatibility for ancient binaries, so... we assume if it ever worked
before, it still works. :) Thus, suppress the errors. In order to
suppress the errors, we make a wrapper script around the external
compiler (not the xgcc one) so that we can apply flags that only affect
modern compilers, and aren't parsed by xgcc which would choke on them
due to those flags being too new.
Closes: https://bugs.gentoo.org/879775
Closes: https://bugs.gentoo.org/919184
Closes: https://bugs.gentoo.org/832016
Closes: https://bugs.gentoo.org/923112
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
USE=clang
Implement Arfrever's suggestion 1 from https://bugs.gentoo.org/883225#c14.
I was skeptical at first before because there's bigger issues when using
Clang as the system compiler, especially if using libcxx too, as not
all of the dependencies are visible to Portage, but this matters too
with USE=clang anyway, as if we're going to try build with Clang, we need
to try harder for it to be usable.
Not all packages will need it anyway (compiler-rt) but compiler-rt-sanitizers
does, and I also don't want to bring back the circular dep issues
from 063259edf4ee32738b680757ed853ddcf678e131 and 194424374ce95cc15ae1a88af6ac4d3bd2819869
again right now (hence not changing Clang itself).
Bug: https://bugs.gentoo.org/883225
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Without this, when trying to emerge the non-latest slot of sys-devel/clang
with no others installed, we end up pulling in latest Clang unnecessarily.
Bug: https://bugs.gentoo.org/883225
Reported-by: Calvin Buckley <calvin@cmpct.info>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Without this, when trying to emerge the non-latest slot of sys-devel/clang
with no others installed, we end up pulling in latest Clang unnecessarily.
Bug: https://bugs.gentoo.org/883225
Reported-by: Calvin Buckley <calvin@cmpct.info>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
|
|
|
|
| |
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
|
|
|
|
| |
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
|
|
|
|
| |
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
It's been removed from Gentoo entirely so drop it from the comment.
Signed-off-by: Sam James <sam@gentoo.org>
|