[Bug 1188839] New: cross-XXX-gcc11-bootstrap should not be enabled for architecture XXX
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839 Bug ID: 1188839 Summary: cross-XXX-gcc11-bootstrap should not be enabled for architecture XXX Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: guillaume.gardet@arm.com QA Contact: qa-bugs@suse.de CC: rguenther@suse.com Found By: --- Blocker: --- All cross-XXX-gcc11-bootstrap should not be enabled for architecture XXX. For example, cross-aarch64-gcc11-bootstrap build should be disabled for aarch64. Currently it is enabled, so it is unresolvable. This is the same for all *-bootstrap packages. Also cross-arm-none-gcc11 should not be enabled for armv6/armv7. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c1
Richard Biener
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c2
--- Comment #2 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c4
--- Comment #4 from Richard Biener
ExclusiveArch is handled for cross-*-gcc11 but not for the -bootstrap flavor cross-*-gcc11-bootstrap.
cross-arm-none-gcc11* is unresolvable due to: nothing provides cross-arm-binutils nothing provides cross-arm-none-newlib-devel So, we would need to build cross-arm-binutils for armv6/7.
Supposedly the native binutils will do there, so the BuildRequires could be guarded with %ifnarch %{binutils_target} or sth like that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c5
--- Comment #5 from Guillaume GARDET
I'd rather find a way that would say "DontBuildOn: XXX".
You are looking for 'ExcludeArch:' then. It means build for all architectures except on the one(s) listed here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c7
--- Comment #7 from Richard Biener
(In reply to Guillaume GARDET from comment #5)
(In reply to Michael Matz from comment #3)
I'd rather find a way that would say "DontBuildOn: XXX".
You are looking for 'ExcludeArch:' then. It means build for all architectures except on the one(s) listed here.
Uhm, right. I wonder why we aren't using it already, is it only supported with "newer" rpm, or were we just not knowing ExcludeArch: 18 years ago? ;-)
IIRC it was unsupported on SLE-11. But binutils uses it now so I guess it's fine to use. Maybe it doesn't combine with ExclusiveArch:, who knows (and we don't want to build crosses on all "hosts" - well, we did so in the past).
FWIW I was just playing with
%ifarch XXX ExclusiveArch: dontbuild %endif
which works as well, but of course ExcludeArch is nicer.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c8
--- Comment #8 from Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839
http://bugzilla.opensuse.org/show_bug.cgi?id=1188839#c9
Guillaume GARDET
participants (1)
-
bugzilla_noreply@suse.com