Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939817 - toolchain.eclass: eclass/tests/toolchain.sh tests fail
Summary: toolchain.eclass: eclass/tests/toolchain.sh tests fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-18 15:57 UTC by Sam James
Modified: 2024-09-19 04:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-18 15:57:26 UTC
Originally reported in bug 859157.

```
$ ./toolchain.sh |& grep Failure
 * Failure - Expected: "-march=x86-64" Got: "-march=k8" Ver: 3.3
 * Failure - Expected: "-march=c3" Got: "-march=c3-2" Ver: 3.3
 * Failure - Expected: "" Got: "-mtune=generic" Ver: 3.4
 * Failure - Expected: "" Got: "-mtune=anything" Ver: 3.3
 * Failure - Expected: "-march=k6-2" Got: "-march=k6-2 -mtune=k8" Ver: 3.3
 * Failure - Expected: "-march=k8" Got: "-march=k8 -mtune=generic" Ver: 3.4
 * Failure - Expected: "-march=nocona" Got: "-march=native" Ver: 4.1
```
Comment 1 Larry the Git Cow gentoo-dev 2024-09-19 04:13:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3fcf7b631e7afe04af8ac80bae2759d222d2de

commit 0e3fcf7b631e7afe04af8ac80bae2759d222d2de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-19 04:12:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-19 04:13:46 +0000

    eclass/tests: fix toolchain.sh tests by dropping old GCC support
    
    eb49d171430cc2baffbf9d37493a78cc02b33fe2 dropped old GCC support but
    the tests weren't updated.
    
    Closes: https://bugs.gentoo.org/939817
    Fixes: eb49d171430cc2baffbf9d37493a78cc02b33fe2
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/tests/toolchain.sh | 17 -----------------
 1 file changed, 17 deletions(-)