And it's far more than just gperf. So far, I've also stumbled upon textproc/groff and devel/protobuf failures, all similar (segfaults, failed assertions that go away with -fno-stack-protector). There is obviously a fairly major compiler bug that's hit with the new ssp algorithm on arm, and it's breaking most of the ports tree.
On Sat, 05 Jul 2014 10:01:12 +0200, Pascal Stumpf wrote: > On Fri, 4 Jul 2014 18:40:42 -0700, Martynas Venckus wrote: > > How do you know that this is from -fstack-protector-strong? Does it > > build if you explicitly pass -fno-stack-protector? It would really > > help if you guys could reduce the test case. > > A gperf built with -fno-stack-protector works fine. (The problem is > that gperf in general is broken, not just for libiconv.) > > > Also, CC'ing Miod in case this is a compiler bug. > > > > On 7/4/14, Pascal Stumpf <[email protected]> wrote: > > > This is fallout from -fstack-protector-strong. I don't know yet if it's > > > a bug in gperf, the stack protector or the arm backend, or why it > > > produces the wrong results instead of crashing. > > > > > > On Sat, 10 May 2014 19:44:37 +0200, Guenther Niess wrote: > > >> I'm trying to build git on my pandaboard. I've tried to rebuild the base > > >> system and building ports again without success. > > >> > > >> building libiconv (after building and installing of gperf): > > >> > > >> ===> libiconv-1.14p1 depends on: gperf-* -> gperf-3.0.4p0 > > >> ===> Verifying specs: c c > > >> ===> found c.74.2 > > >> ===> Extracting for libiconv-1.14p1 > > >> ===> Patching for libiconv-1.14p1 > > >> ===> Configuring for libiconv-1.14p1 > > >> Using /home/ports/obj/libiconv-1.14/config.site (generated) > > >> cc -O2 -pipe lib/genaliases.c -o genaliases > > >> ./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh > > >> rm -f genaliases > > >> gperf -m 10 lib/aliases.gperf > tmp.h > > >> Key link: "ANSI_X3.4-1986" = "ANSI_X3.4-1968", with key set "-.134AISX_". > > >> Key link: "ISO-10646-UCS-4" = "ISO-10646-UCS-2", with key set > > >> "--01466IOU". > > >> Key link: "L2" = "L1", with key set "L". > > >> Key link: "L3" = "L1", with key set "L". > > >> Key link: "ISO-IR-110" = "ISO-IR-101", with key set "--011IIOR". > > >> Key link: "L4" = "L1", with key set "L". > > >> Key link: "ISO_8859-7:2003" = "ISO_8859-7:1987", with key set > > >> "-57889:IO_". > > >> Key link: "L5" = "L1", with key set "L". > > >> Key link: "L6" = "L1", with key set "L". > > >> Key link: "L7" = "L1", with key set "L". > > >> Key link: "L8" = "L1", with key set "L". > > >> Key link: "WINDOWS-1251" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1252" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1253" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1254" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1255" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1256" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1257" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "WINDOWS-1258" = "WINDOWS-1250", with key set "-125DNOSWW". > > >> Key link: "TIS620.2533-1" = "TIS620.2533-0", with key set ".0223356ST". > > >> Key link: "JIS_X0208-1990" = "JIS_X0208-1983", with key set "-00128JSX_". > > >> Key link: "KS_C_5601-1989" = "KS_C_5601-1987", with key set "-01156CK__". > > >> Key link: "ISO-2022-JP-2" = "ISO-2022-JP-1", with key set "--0222IJOP". > > >> Key link: "BIG5-HKSCS:2001" = "BIG5-HKSCS:1999", with key set > > >> "-5:BCGHKSS". > > >> Key link: "BIG5-HKSCS:2004" = "BIG5-HKSCS:1999", with key set > > >> "-5:BCGHKSS". > > >> Key link: "BIG5-HKSCS:2008" = "BIG5-HKSCS:1999", with key set > > >> "-5:BCGHKSS". > > >> 26 input keys have identical hash values, > > >> use option -D. > > >> *** Error 1 in /home/ports/obj/libiconv-1.14/libiconv-1.14 > > >> (Makefile.devel:109 'lib/aliases.h') > > >> *** Error 1 in /usr/ports/converters/libiconv (Makefile:35 > > >> 'pre-configure') > > >> *** Error 1 in /usr/ports/converters/libiconv > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2659 > > >> '/home/ports/obj/libiconv-1.14/build-arm/.configure_done') > > >> *** Error 1 in /usr/ports/converters/libiconv > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:1890 > > >> '/home/ports/packages/arm/all/libiconv-1.14p1.tgz') > > >> *** Error 1 in /usr/ports/converters/libiconv > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2443 '_internal-package') > > >> *** Error 1 in /usr/ports/converters/libiconv > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2423 'package') > > >> *** Error 1 in /usr/ports/converters/libiconv > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:1907 > > >> '/var/db/pkg/libiconv-1.14p1/+CONTENTS') > > >> *** Error 1 in /usr/ports/converters/libiconv > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2423 'install') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2050 > > >> '/home/ports/obj/gettext-0.18.2/.dep-converters-libiconv') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2503 > > >> '/home/ports/obj/gettext-0.18.2/.extract_done') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:1890 > > >> '/home/ports/packages/arm/all/gettext-0.18.2p4.tgz') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2443 '_internal-package') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2423 'package') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:1907 > > >> '/var/db/pkg/gettext-0.18.2p4/+CONTENTS') > > >> *** Error 1 in /usr/ports/devel/gettext > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2423 'install') > > >> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2050 > > >> '/home/ports/obj/vim-7.4.135-no_x11/.dep-STEM-ge-0.10.38-devel-gettext') > > >> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2503 > > >> '/home/ports/obj/vim-7.4.135-no_x11/.extract_done') > > >> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1890 > > >> '/home/ports/packages/arm/all/vim-7.4.135p0-no_x11.tgz') > > >> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2443 > > >> '_internal-package') > > >> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2423 > > >> 'package') > > >> *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1907 > > >> '/var/db/pkg/vim-7.4.135p0-no_x11/+CONTENTS') > > >> *** Error 1 in /usr/ports/editors/vim > > >> (/usr/ports/infrastructure/mk/bsd.port.mk:2423 'install') > > >> > > >> > > >> dmesg: > > >> OpenBSD 5.5-current (GENERIC-OMAP) #0: Sat May 10 11:42:15 CEST 2014 > > >> > > >> [email protected]:/usr/src/sys/arch/armv7/compile/GENERIC-OMAP > > >> real mem = 1073741824 (1024MB) > > >> avail mem = 1044733952 (996MB) > > >> warning: no entropy supplied by boot loader > > >> mainbus0 at root > > >> cortex0 at mainbus0 > > >> ampintc0 at cortex0 nirq 160 > > >> amptimer0 at cortex0: tick rate 396000 KHz > > >> cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core) > > >> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled > > >> cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache > > >> omap0 at mainbus0: PandaBoard > > >> omapid0 at omap0: omap4460 > > >> amptimer0: adjusting clock: new tick rate 350000 KHz > > >> prcm0 at omap0 rev 0.0 > > >> omdog0 at omap0 rev 0.1 > > >> omgpio0 at omap0: rev 0.1 > > >> gpio0 at omgpio0: 32 pins > > >> omgpio1 at omap0: rev 0.1 > > >> gpio1 at omgpio1: 32 pins > > >> omgpio2 at omap0: rev 0.1 > > >> gpio2 at omgpio2: 32 pins > > >> omgpio3 at omap0: rev 0.1 > > >> gpio3 at omgpio3: 32 pins > > >> omgpio4 at omap0: rev 0.1 > > >> gpio4 at omgpio4: 32 pins > > >> omgpio5 at omap0: rev 0.1 > > >> gpio5 at omgpio5: 32 pins > > >> ommmc0 at omap0 > > >> sdmmc0 at ommmc0 > > >> com0 at omap0: ti16750, 64 byte fifo > > >> com0: console > > >> ehci0 at omap0 > > >> usb0 at ehci0: USB revision 2.0 > > >> uhub0 at usb0 "TI OMAP EHCI root hub" rev 2.00/1.00 addr 1 > > >> scsibus0 at sdmmc0: 2 targets, initiator 0 > > >> sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed > > >> sd0: 30436MB, 512 bytes/sector, 62333952 sectors > > >> uhub1 at uhub0 port 1 "Standard Microsystems product 0x9514" rev > > >> 2.00/2.00 addr 2 > > >> smsc0 at uhub1 port 1 "Standard Microsystems SMSC9512/14" rev 2.00/2.00 > > >> addr 3 > > >> smsc0: address ff:ff:ff:ff:ff:ff > > >> ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > > >> 0x0001f0, model 0x000c > > >> vscsi0 at root > > >> scsibus1 at vscsi0: 256 targets > > >> softraid0 at root > > >> scsibus2 at softraid0: 256 targets > > >> boot device: sd0 > > >> root on sd0a (283504892e41646b.a) swap on sd0b dump on sd0b > > >> > > >> > > > > > > >
