Comment 7 for bug 1837577

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

So our current call to configure is this:

cd build-z14 && ../configure --prefix="/<<PKGBUILDDIR>>/debian/tmp" --incdir="/<<PKGBUILDDIR>>/debian/tmp/usr/include/s390x-linux-gnu/" --libdir="/<<PKGBUILDDIR>>/debian/tmp/usr/lib/s390x-linux-gnu/" --shared -D c -DWALL -Ss f77lib "-L/usr/lib/gcc/s390x-linux-gnu/9/ -lgfortran -lgcc_s -lpthread" -Ss pmake 'make -j 4' -v 2 -b 64 -A IBMz12 -V 1 -t 0 --cc="cc" --cflags="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" -C acg gcc -F acg "-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" -C if gfortran -F if "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" -Ss ADdir ../../debian/archdefs/s390x --cripple-atlas-performance -Si archdef 2 -A IBMz14 -V 4 --cflags="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -march=z14 -mzvector" -C acg gcc -F acg "-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -march=z14 -mzvector" -C if gfortran -F if "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -march=z14 -mzvector"

I'm not sure about the right -F flags here. Cause I would assume that for target code we do want -march=z14 -mzvector" but for xccflags we do not. And somehow, I'm not that well versed in atlas configure to figure this out. Also it is suboptimal that we pass and overrride -A cause it makes it confusing to read =)

Let me try to push a build out without -march=z14 as a step in the right direction.