Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667220 - sci-libs/fftw-3.3.8: error: #error "compiling simd-avx2.h without avx2 support"
Summary: sci-libs/fftw-3.3.8: error: #error "compiling simd-avx2.h without avx2 support"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-28 11:59 UTC by Geoff Madden
Modified: 2018-09-29 08:13 UTC (History)
0 users

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


Attachments
evironment file for fftw-3.3.8 (environment_fftw.tbz2,33 bytes, text/plain)
2018-09-28 11:59 UTC, Geoff Madden
Details
build log for a ryzen5 cpu (fftw-3.3.8_build.log.tbz2,11.39 KB, application/x-bzip2)
2018-09-28 12:03 UTC, Geoff Madden
Details
emerge info (emerge.inf,5.60 KB, text/plain)
2018-09-29 08:13 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2018-09-28 11:59:56 UTC
Created attachment 548104 [details]
evironment file for fftw-3.3.8

run emerge fftw,compilegdets to multilib-double and fails
Comment 1 Geoff Madden 2018-09-28 12:03:25 UTC
Created attachment 548106 [details]
build log for a ryzen5 cpu
Comment 2 Geoff Madden 2018-09-28 12:07:00 UTC
The complcation is that I travelled to the work dir & bootstrapped the file,compiled
and there were no error messages & it compiled up just fine.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2018-09-28 12:36:44 UTC
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sci-libs/fftw-3.3.8/work/fftw-3.3.8/dft/simd/avx2 -I../../..  -I /var/tmp/portage/sci-libs/fftw-3.3.8/work/fftw-3.3.8  -march=core-avx2 -mfma -O2 -march=athlon64 -pipe -c -o n1fv_10.lo /var/tmp/portage/sci-libs/fftw-3.3.8/work/fftw-3.3.8/dft/simd/avx2/n1fv_10.c

Note that -march=athlon64 appears there which trumps the previous -march=core-avx2. athlon64 does not have AVX2. Fix your CFLAGS.
Comment 4 Geoff Madden 2018-09-29 08:10:30 UTC
(In reply to Brian Evans from comment #3)
> /bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc
> -DHAVE_CONFIG_H -I.
> -I/var/tmp/portage/sci-libs/fftw-3.3.8/work/fftw-3.3.8/dft/simd/avx2
> -I../../..  -I /var/tmp/portage/sci-libs/fftw-3.3.8/work/fftw-3.3.8 
> -march=core-avx2 -mfma -O2 -march=athlon64 -pipe -c -o n1fv_10.lo
> /var/tmp/portage/sci-libs/fftw-3.3.8/work/fftw-3.3.8/dft/simd/avx2/n1fv_10.c
> 
> Note that -march=athlon64 appears there which trumps the previous
> -march=core-avx2. athlon64 does not have AVX2. Fix your CFLAGS.

noted and have changed it to native as there does not appear to be an alternative
for the ryzen series cpu's
Comment 5 Geoff Madden 2018-09-29 08:13:21 UTC
Created attachment 548164 [details]
emerge info