Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669346 - dev-lang/gnat-gpl-2018-r1 : gnat1: error: bad value ( native ) for -march= switch
Summary: dev-lang/gnat-gpl-2018-r1 : gnat1: error: bad value ( native ) for -march= sw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-22 17:44 UTC by Toralf Förster
Modified: 2018-10-24 19:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.90 KB, text/plain)
2018-10-22 17:44 UTC, Toralf Förster
Details
dev-lang:gnat-gpl-2018-r1:20181022-055845.log.bz2 (dev-lang:gnat-gpl-2018-r1:20181022-055845.log.bz2,118.94 KB, application/x-bzip)
2018-10-22 17:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,135.31 KB, text/plain)
2018-10-22 17:44 UTC, Toralf Förster
Details
environment (environment,165.07 KB, text/plain)
2018-10-22 17:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.11 KB, application/x-bzip)
2018-10-22 17:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,169.37 KB, application/x-bzip)
2018-10-22 17:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,155.97 KB, application/x-bzip)
2018-10-22 17:45 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-10-22 17:44:41 UTC
/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/build/./prev-gcc/xgcc -B/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include    -c -m64 -O2 -pipe -march=native -gtoggle  -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/gcc-7-gpl-2018-src/gcc/ada -I/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/gcc-7-gpl-2018-src/gcc/ada/gcc-interface -Iada/libgnat -I/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/gcc-7-gpl-2018-src/gcc/ada/libgnat /var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/gcc-7-gpl-2018-src/gcc/ada/libgnat/a-charac.ads -o ada/libgnat/a-charac.o
gnat1: error: bad value (‘native’) for ‘-march=’ switch
gnat1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 bonnell atom silvermont slm knl x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2
make[3]: *** [/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/gcc-7-gpl-2018-src/gcc/ada/gcc-interface/Make-lang.in:145: ada/libgnat/a-charac.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-lang/gnat-gpl-2018-r1/work/build/gcc'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20181019-180112

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.9.0 [icedtea-8]
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpvO dev-lang/gnat-gpl
[ebuild  N    ] dev-lang/gnat-gpl-2018-r1  USE="bootstrap cxx fortran jit multilib nls nptl openmp pch pie sanitize ssp vtv (-altivec) -cilk -debug -doc (-fixed-point) -go -graphite -hardened -libssp -mpx -objc -objc++ -objc-gc -pgo -regression-test -vanilla"
Comment 1 Toralf Förster gentoo-dev 2018-10-22 17:44:45 UTC
Created attachment 552382 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-22 17:44:48 UTC
Created attachment 552384 [details]
dev-lang:gnat-gpl-2018-r1:20181022-055845.log.bz2
Comment 3 Toralf Förster gentoo-dev 2018-10-22 17:44:51 UTC
Created attachment 552386 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-10-22 17:44:54 UTC
Created attachment 552388 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-10-22 17:44:57 UTC
Created attachment 552390 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-22 17:45:00 UTC
Created attachment 552392 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-10-22 17:45:03 UTC
Created attachment 552394 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-10-24 19:54:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c69d99e6c710cee2501d6f1f6db492ceb29f0f8

commit 6c69d99e6c710cee2501d6f1f6db492ceb29f0f8
Author:     Tupone Alfredo <tupone@gentoo.org>
AuthorDate: 2018-10-24 19:50:08 +0000
Commit:     Tupone Alfredo <tupone@gentoo.org>
CommitDate: 2018-10-24 19:54:34 +0000

    dev-lang/gnat-gpl does not build with jit and march=native
    
    Closes: https://bugs.gentoo.org/669346
    
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)