Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525910 - sys-devel/crossdev should mask USE=sanitize on relevant architectures
Summary: sys-devel/crossdev should mask USE=sanitize on relevant architectures
Status: RESOLVED DUPLICATE of bug 370063
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
: 526784 526932 527976 532556 536738 547226 549510 550772 564314 566976 567878 575170 582298 582664 (view as bug list)
Depends on:
Blocks: 504200
  Show dependency tree
 
Reported: 2014-10-19 21:44 UTC by Jeroen Roovers (RETIRED)
Modified: 2016-06-02 15:39 UTC (History)
21 users (show)

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


Attachments
525910-crossdev-sanitize.patch (525910-crossdev-sanitize.patch,560 bytes, patch)
2014-10-30 01:40 UTC, Jeroen Roovers (RETIRED)
Details | Diff
cross-hppa2.0-unknown-linux-gnu-gcc-stage2.log.xz (cross-hppa2.0-unknown-linux-gnu-gcc-stage2.log.xz,86.71 KB, application/x-xz)
2014-10-31 09:53 UTC, Jeroen Roovers (RETIRED)
Details
failure of gcc stage2 with crossdev-99999999 (cross-armv5tel-softfloat-linux-uclibceabi-gcc-stage2.log.xz,101.04 KB, application/x-xz)
2015-02-10 03:25 UTC, Eddy Petrișor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-10-19 21:44:52 UTC
USE=sanitize has not been ported to all supported architectures, having sys-devel/gcc failing to build when creating cross-compilers.
Comment 1 Andrew Church 2014-10-22 05:04:45 UTC
Note that it's not "sys-devel/gcc" but "cross-*/gcc" when building cross-compilers (thus http://sources.gentoo.org/profiles/base/package.use.mask?r1=1.617&r2=1.618 doesn't fix this bug).
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-22 10:10:30 UTC
(In reply to Andrew Church from comment #1)
> Note that it's not "sys-devel/gcc" but "cross-*/gcc" when building
> cross-compilers (thus
> http://sources.gentoo.org/profiles/base/package.use.mask?r1=1.617&r2=1.618
> doesn't fix this bug).

That's why this bug report doesn't mention that at all.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-25 18:30:57 UTC
*** Bug 526784 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-26 14:07:40 UTC
*** Bug 526932 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-30 01:40:59 UTC
Created attachment 387766 [details, diff]
525910-crossdev-sanitize.patch
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-31 09:53:50 UTC
Created attachment 387856 [details]
cross-hppa2.0-unknown-linux-gnu-gcc-stage2.log.xz

It's masked on stage1 but not stage2 so it still fails
Comment 8 SpanKY gentoo-dev 2014-10-31 16:06:41 UTC
that's to be expected

*** This bug has been marked as a duplicate of bug 370063 ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-31 16:08:54 UTC
This isn't a duplicate.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-31 16:13:24 UTC
You didn't fix it at all.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-31 16:22:50 UTC
crossdev writes and overwrites entries in package.use. Changes to those entries (for instance "cross-hppa2.0-unknown-linux-gnu/gcc -sanitize" are getting overwritten by the stage2 gcc run which therefore fails again and again.
Comment 12 SpanKY gentoo-dev 2014-10-31 18:43:57 UTC
i know how it works.  i fixed the stage1 behavior because that matters everywhere.  what you're talking about here is bug 370063, so yes, it is a dupe.

*** This bug has been marked as a duplicate of bug 370063 ***
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-02 18:52:31 UTC
*** Bug 527976 has been marked as a duplicate of this bug. ***
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-02 18:52:51 UTC
*** Bug 527980 has been marked as a duplicate of this bug. ***
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-26 17:01:22 UTC
*** Bug 530786 has been marked as a duplicate of this bug. ***
Comment 16 Attila Oláh 2014-11-26 18:04:02 UTC
*** Bug 530786 has been marked as a duplicate of this bug. ***
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-14 13:30:33 UTC
*** Bug 532556 has been marked as a duplicate of this bug. ***
Comment 18 thunder367 2015-01-17 19:58:21 UTC
Please fix in main tree gentoo for architecture mips-linux-uclibc.
Comment 19 Eddy Petrișor 2015-02-10 03:22:37 UTC
(In reply to SpanKY from comment #12)
> i know how it works.  i fixed the stage1 behavior because that matters
> everywhere.  what you're talking about here is bug 370063, so yes, it is a
> dupe.
> 
> *** This bug has been marked as a duplicate of bug 370063 ***

Hi, just tried the overlay and tried to crossdev armv5tel-softfloat-linux-uclibceabi. During stage1 -sanitize is present, but during stage 2 it is not and the build fails just as it did before.

So either I am doing something wrong or the fix is not enough.
Comment 20 Eddy Petrișor 2015-02-10 03:25:49 UTC
Created attachment 396042 [details]
failure of gcc stage2 with crossdev-99999999

Attached is the log for the stage 2 failure.
Comment 21 SpanKY gentoo-dev 2015-05-18 16:00:13 UTC
*** Bug 547226 has been marked as a duplicate of this bug. ***
Comment 22 SpanKY gentoo-dev 2015-05-18 16:00:18 UTC
*** Bug 536738 has been marked as a duplicate of this bug. ***
Comment 23 SpanKY gentoo-dev 2015-05-18 16:00:39 UTC
*** Bug 549510 has been marked as a duplicate of this bug. ***
Comment 24 SpanKY gentoo-dev 2015-05-30 02:24:50 UTC
*** Bug 550772 has been marked as a duplicate of this bug. ***
Comment 25 Jeremy Murphy 2015-09-28 04:36:18 UTC
I'm also seeing compilation failure on libsanitize in gcc stage2 when building for mingw64 (using crossdev-20150602).
Comment 26 Michael Palimaka (kensington) gentoo-dev 2015-11-10 15:16:55 UTC
*** Bug 564314 has been marked as a duplicate of this bug. ***
Comment 27 SpanKY gentoo-dev 2015-12-11 20:42:55 UTC
*** Bug 567878 has been marked as a duplicate of this bug. ***
Comment 28 SpanKY gentoo-dev 2015-12-11 20:45:25 UTC
*** Bug 566976 has been marked as a duplicate of this bug. ***
Comment 29 SpanKY gentoo-dev 2016-05-05 03:03:15 UTC
*** Bug 581686 has been marked as a duplicate of this bug. ***
Comment 30 SpanKY gentoo-dev 2016-05-12 17:15:01 UTC
*** Bug 582298 has been marked as a duplicate of this bug. ***
Comment 31 SpanKY gentoo-dev 2016-05-17 16:10:18 UTC
*** Bug 582664 has been marked as a duplicate of this bug. ***
Comment 32 SpanKY gentoo-dev 2016-06-02 15:39:56 UTC
*** Bug 575170 has been marked as a duplicate of this bug. ***