> I didn't suggest that you changed the default settings, but different > Linux distros have different default ISA levels.
Being unfamiliar with "ISA levels"- how would I find out which one is used by *default*? The logs are from the Gentoo release engineering stage update. We use the baseline as supplied by gcc. Users are free to specify a -march= ISA setting via their CFLAGS, but the default for the stage builds is kept as minimal and simple as possible. > However, RISBG has been present for a long time. I'm a little > confused about CLGIJE because CLGIJ exists, but I'm not certain about > CLGIJE. > Because it's complaining about the file memxor.s, it seems that the > version of the GNU Assembler installed on the system is very old. I managed to reproduce the problem manually by building with CFLAGS="-O2 -pipe", using gcc-11.3.0 binutils-2.38 So, definitely no old gas version. Best, Andreas > > Thanks, David > > On Mon, Jun 27, 2022 at 8:13 PM Andreas K. Huettel <[email protected]> > wrote: > > > > Hi David, > > > > as far as I can see we don't touch gcc default settings at all. > > > > COMMON_FLAGS = "-O2 -pipe" > > CHOST = "s390x-ibm-linux-gnu" > > > > Thanks, > > Andreas > > > > Am Dienstag, 28. Juni 2022, 10:10:22 AEST schrieb David Edelsohn: > > > To what ISA level does Gentoo and its toolchain default? Nettle > > > optimizations for IBMz are targeting newer systems. > > > > > > Thanks, David > > > > > > On Mon, Jun 27, 2022 at 8:00 PM Andreas K. Huettel <[email protected]> > > > wrote: > > > > > > > > Hi, > > > > > > > > we're recetly hitting a build failure on 64bit s390 (i.e. s390x). > > > > > > > > Here's a log snippet: > > > > > > > > s390x-ibm-linux-gnu-gcc -I. -DHAVE_CONFIG_H -O2 -pipe -Wall -W > > > > -Wno-sign-compare -Wmissing-prototypes -Wmissing-declarations > > > > -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast > > > > -Wnested-externs -fpic -c > > > > /var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8/md5-compat.c \ > > > > && true > > > > s390x-ibm-linux-gnu-gcc -I. -DHAVE_CONFIG_H -O2 -pipe -Wall -W > > > > -Wno-sign-compare -Wmissing-prototypes -Wmissing-declarations > > > > -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast > > > > -Wnested-externs -fpic -c > > > > /var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8/md5-meta.c \ > > > > && true > > > > s390x-ibm-linux-gnu-gcc -I. -DHAVE_CONFIG_H -O2 -pipe -Wall -W > > > > -Wno-sign-compare -Wmissing-prototypes -Wmissing-declarations > > > > -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast > > > > -Wnested-externs -fpic -c > > > > /var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8/memeql-sec.c \ > > > > && true > > > > /usr/bin/m4 > > > > /var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8/m4-utils.m4 > > > > /var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8/asm.m4 config.m4 > > > > machine.m4 memxor.asm >memxor.s > > > > s390x-ibm-linux-gnu-gcc -I. -DHAVE_CONFIG_H -O2 -pipe -Wall -W > > > > -Wno-sign-compare -Wmissing-prototypes -Wmissing-declarations > > > > -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast > > > > -Wnested-externs -fpic -c memxor.s > > > > s390x-ibm-linux-gnu-gcc -I. -DHAVE_CONFIG_H -O2 -pipe -Wall -W > > > > -Wno-sign-compare -Wmissing-prototypes -Wmissing-declarations > > > > -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast > > > > -Wnested-externs -fpic -c > > > > /var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8/memxor3.c \ > > > > && true > > > > memxor.s: Assembler messages: > > > > memxor.s:43: Error: Unrecognized opcode: `clgije' > > > > memxor.s:50: Error: Unrecognized opcode: `risbg' > > > > make[1]: *** [Makefile:293: memxor.o] Error 1 > > > > make[1]: *** Waiting for unfinished jobs.... > > > > make[1]: Leaving directory > > > > '/var/tmp/portage/dev-libs/nettle-3.8/work/nettle-3.8-abi_s390_64.s390x' > > > > make: *** [Makefile:47: all] Error 2 > > > > > > > > Any idea what's going on? More details on request, I can also test > > > > patches. > > > > > > > > Cheers, > > > > Andreas > > > > > > > > -- > > > > Andreas K. Hüttel > > > > [email protected] > > > > Gentoo Linux developer > > > > (council, qa, toolchain, base-system, perl, libreoffice) > > > > _______________________________________________ > > > > nettle-bugs mailing list -- [email protected] > > > > To unsubscribe send an email to [email protected] > > > _______________________________________________ > > > nettle-bugs mailing list -- [email protected] > > > To unsubscribe send an email to [email protected] > > > > > > > > > -- > > Andreas K. Hüttel > > [email protected] > > Gentoo Linux developer > > (council, qa, toolchain, base-system, perl, libreoffice) > -- Andreas K. Hüttel [email protected] Gentoo Linux developer (council, qa, toolchain, base-system, perl, libreoffice)
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ nettle-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
