From owner-freebsd-ports@FreeBSD.ORG Tue Oct 8 02:09:25 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 96FBFC85 for ; Tue, 8 Oct 2013 02:09:25 +0000 (UTC) (envelope-from tom@uffner.com) Received: from eris.uffner.com (eris.uffner.com [71.162.143.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F964279C for ; Tue, 8 Oct 2013 02:09:23 +0000 (UTC) Received: from discordia.uffner.com (discordia.uffner.com [10.69.69.61]) (authenticated bits=0) by eris.uffner.com (8.14.7/8.14.7) with ESMTP id r981fAUa026489 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=FAIL) for ; Mon, 7 Oct 2013 21:41:10 -0400 (EDT) (envelope-from tom@uffner.com) Message-ID: <525362B6.2000005@uffner.com> Date: Mon, 07 Oct 2013 21:41:10 -0400 From: Tom Uffner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: building seamonkey - possible clang bug Content-Type: multipart/mixed; boundary="------------030904040904030702060106" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 02:09:25 -0000 This is a multi-part message in MIME format. --------------030904040904030702060106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am trying to build www/seamonkey on an old laptop. I realize that this is far from an optimal situation to begin with, but all of my fast systems are amd64 and i need an i386 build for the laptop. i can't just install a package because i really want to strip out as much of the unused features & bloat as possible. not ready to tor figuring out amd64 -> i386 cross build in ports yet. In any case the build proceeds normally until it gets to comm-release/mozilla/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c i believe this file exposes a clang bug... once this source file is reached, clang proceeds to slow to a crawl, use use up all available memory & swap on the system, and fail because it can't allocate any more memory. i tried unloading unnecessary kernel modules, killing unnecessary processes and adding more swap, but all it did was thrash more and take two days longer to run out of memory. details... FreeBSD kali.uffner.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #5: Thu Sep 26 16:23:22 EDT 2013 tom@kali.uffner.com:/usr/obj/usr/src/sys/KALI i386 clang: error: unable to execute command: Killed: 9 clang: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: i386-unknown-freebsd9.2 Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/ns_core-lkL4Vb.c clang: note: diagnostic msg: /tmp/ns_core-lkL4Vb.sh clang: note: diagnostic msg: ******************** gmake[7]: *** [audio_processing/ns/ns_core.o] Error 254 gmake[7]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2/mozilla/media/webrtc/trunk/webrtc/modules/modules_audio_processing' gmake[6]: *** [webrtc/modules/modules_audio_processing_libs] Error 2 gmake[6]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2/mozilla/media/webrtc/trunk' gmake[5]: *** [libs] Error 2 gmake[5]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2/mozilla/media/webrtc' gmake[4]: *** [libs_tier_platform] Error 2 gmake[4]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2/mozilla' gmake[3]: *** [tier_platform] Error 2 gmake[3]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2/mozilla' gmake[2]: *** [default] Error 2 gmake[2]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2/mozilla' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/usr/ports/www/seamonkey/work/comm-release/obj-i386-portbld-freebsd9.2' gmake: *** [build] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/www/seamonkey. *** [build] Error code 1 Stop in /usr/ports/www/seamonkey. Rebooting... Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.2-PRERELEASE #5: Thu Sep 26 16:23:22 EDT 2013 tom@kali.uffner.com:/usr/obj/usr/src/sys/KALI i386 gcc version 4.2.1 20070831 patched [FreeBSD] CPU: Intel Pentium III (496.32-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Family = 0x6 Model = 0x8 Stepping = 1 Features=0x383f9ff real memory = 268435456 (256 MB) avail memory = 248418304 (236 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi0: reservation of 100000, ff00000 (3) failed acpi0: reservation of 0, a0000 (3) failed cpu0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xfd000000-0xfdffffff,0xfe800000-0xfebfffff,0xfec00000-0xfecfffff irq 9 at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfcf0-0xfcff at device 7.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 uhci0: port 0xfcc0-0xfcdf at device 7.2 on pci0 usbus0 on uhci0 pci0: at device 7.3 (no driver attached) fwohci0: mem 0xfedff000-0xfedff7ff,0xfedffc00-0xfedffdff at device 8.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 08:00:46:03:00:27:c1:52 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode pcm0: port 0xfc40-0xfc7f,0xfcec-0xfcef mem 0xfedf0000-0xfedf7fff irq 9 at device 9.0 on pci0 pcm0: pci0: at device 10.0 (no driver attached) cbb0: at device 12.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 12.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcbfff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 acpi_throttle0: on cpu0 smist0: GSIC returned cmd 0x80, should be 0x82 smist0: GSIC returned cmd 0x80, should be 0x82 smist0: on cpu0 device_attach: smist0 attach returned 6 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 fwohci0: txd err= 3 miss Ack err usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present ATA-7 device ada0: 33.300MB/s transfers (UDMA2, PIO 8192bytes) ada0: 38204MB (78242976 512 byte sectors: 15H 63S/T 16383C) ada0: Previously was known as ad0 Timecounter "TSC" frequency 496319292 Hz quality 800 uhub0: 2 ports with 2 removable, self powered ath0: irq 9 at device 0.0 on cardbus0 ath0: AR5212 mac 5.9 RF2112 phy 4.3 Trying to mount root from ufs:/dev/ada0s1a [rw]... wlan0: Ethernet address: 00:0f:b5:22:be:69 --------------030904040904030702060106 Content-Type: text/plain; charset=us-ascii; name="ns_core-lkL4Vb.sh" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ns_core-lkL4Vb.sh" /usr/bin/clang -cc1 -triple i386-unknown-freebsd9.2 -emit-obj -disable-fr= ee -main-file-name ns_core.c -mrelocation-model pic -pic-level 2 -relaxed= -aliasing -masm-verbose -mconstructor-aliases -target-cpu pentium3 -targe= t-feature +mmx -ffunction-sections -fdata-sections -sys-header-deps -D "M= OZ_GLUE_IN_PROGRAM" -D "MOZ_SUITE=3D1" -D "NO_NSPR_10_SUPPORT" -D "OS_POS= IX=3D1" -D "OS_FREEBSD=3D1" -D "OS_BSD=3D1" -D ""WEBRTC_SVNREVISION=3D\"U= navailable_issue687\""" -D "_FILE_OFFSET_BITS=3D64" -D "CHROMIUM_BUILD" -= D "USE_LIBJPEG_TURBO=3D1" -D "USE_NSS=3D1" -D "GTK_DISABLE_SINGLE_INCLUDE= S=3D1" -D "ENABLE_REMOTING=3D1" -D "ENABLE_WEBRTC=3D1" -D "ENABLE_CONFIGU= RATION_POLICY" -D "ENABLE_INPUT_SPEECH" -D "ENABLE_NOTIFICATIONS" -D "ENA= BLE_GPU=3D1" -D "USE_OPENSSL=3D1" -D "ENABLE_EGLIMAGE=3D1" -D "USE_SKIA=3D= 1" -D "ENABLE_TASK_MANAGER=3D1" -D "ENABLE_WEB_INTENTS=3D1" -D "ENABLE_EX= TENSIONS=3D1" -D "ENABLE_PLUGIN_INSTALLATION=3D1" -D "ENABLE_PROTECTOR_SE= RVICE=3D1" -D "ENABLE_SESSION_SERVICE=3D1" -D "ENABLE_THEMES=3D1" -D "ENA= BLE_BACKGROUND=3D1" -D "ENABLE_AUTOMATION=3D1" -D "ENABLE_PRINTING=3D1" -= D "ENABLE_CAPTIVE_PORTAL_DETECTION=3D1" -D "WEBRTC_LOGGING" -D "WEBRTC_MO= ZILLA_BUILD" -D "WEBRTC_BSD" -D "WEBRTC_THREAD_RR" -D "WEBRTC_NS_FLOAT" -= D "__STDC_FORMAT_MACROS" -D "NDEBUG" -D "NVALGRIND" -D "DYNAMIC_ANNOTATIO= NS_ENABLED=3D0" -D "NDEBUG" -D "TRIMMED" -D "MOZILLA_CLIENT" -O3 -Wall -W= pointer-arith -Wdeclaration-after-statement -Werror=3Dreturn-type -Wtype-= limits -Wempty-body -Wsign-compare -Wno-unused -std=3Dgnu99 -ferror-limit= 19 -fmessage-length 80 -fvisibility hidden -mstackrealign -fgnu89-inline= -fobjc-runtime=3Dgnustep -fobjc-default-synthesize-properties -fdiagnost= ics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -x c= ns_core-lkL4Vb.c --------------030904040904030702060106--