From owner-freebsd-i386@FreeBSD.ORG Sun Jul 17 02:05:17 2011 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423A8106566B; Sun, 17 Jul 2011 02:05:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0E6828FC17; Sun, 17 Jul 2011 02:05:16 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p6H25GTA030248; Sat, 16 Jul 2011 22:05:16 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p6H25F7J030225; Sun, 17 Jul 2011 02:05:15 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 17 Jul 2011 02:05:15 GMT Message-Id: <201107170205.p6H25F7J030225@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 02:05:17 -0000 TB --- 2011-07-16 23:00:00 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-07-16 23:00:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-07-16 23:00:00 - cleaning the object tree TB --- 2011-07-16 23:00:42 - cvsupping the source tree TB --- 2011-07-16 23:00:42 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-07-16 23:00:56 - building world TB --- 2011-07-16 23:00:56 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-16 23:00:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-16 23:00:56 - TARGET=i386 TB --- 2011-07-16 23:00:56 - TARGET_ARCH=i386 TB --- 2011-07-16 23:00:56 - TZ=UTC TB --- 2011-07-16 23:00:56 - __MAKE_CONF=/dev/null TB --- 2011-07-16 23:00:56 - cd /src TB --- 2011-07-16 23:00:56 - /usr/bin/make -B buildworld >>> World build started on Sat Jul 16 23:00:57 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jul 17 00:57:22 UTC 2011 TB --- 2011-07-17 00:57:22 - generating LINT kernel config TB --- 2011-07-17 00:57:22 - cd /src/sys/i386/conf TB --- 2011-07-17 00:57:22 - /usr/bin/make -B LINT TB --- 2011-07-17 00:57:23 - building LINT kernel TB --- 2011-07-17 00:57:23 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-17 00:57:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-17 00:57:23 - TARGET=i386 TB --- 2011-07-17 00:57:23 - TARGET_ARCH=i386 TB --- 2011-07-17 00:57:23 - TZ=UTC TB --- 2011-07-17 00:57:23 - __MAKE_CONF=/dev/null TB --- 2011-07-17 00:57:23 - cd /src TB --- 2011-07-17 00:57:23 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 17 00:57:23 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun Jul 17 01:27:14 UTC 2011 TB --- 2011-07-17 01:27:14 - cd /src/sys/i386/conf TB --- 2011-07-17 01:27:14 - /usr/sbin/config -m GENERIC TB --- 2011-07-17 01:27:14 - building GENERIC kernel TB --- 2011-07-17 01:27:14 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-17 01:27:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-17 01:27:14 - TARGET=i386 TB --- 2011-07-17 01:27:14 - TARGET_ARCH=i386 TB --- 2011-07-17 01:27:14 - TZ=UTC TB --- 2011-07-17 01:27:14 - __MAKE_CONF=/dev/null TB --- 2011-07-17 01:27:14 - cd /src TB --- 2011-07-17 01:27:14 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sun Jul 17 01:27:14 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GENERIC completed on Sun Jul 17 01:50:48 UTC 2011 TB --- 2011-07-17 01:50:48 - cd /src/sys/i386/conf TB --- 2011-07-17 01:50:48 - /usr/sbin/config -m PAE TB --- 2011-07-17 01:50:48 - building PAE kernel TB --- 2011-07-17 01:50:48 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-17 01:50:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-17 01:50:48 - TARGET=i386 TB --- 2011-07-17 01:50:48 - TARGET_ARCH=i386 TB --- 2011-07-17 01:50:48 - TZ=UTC TB --- 2011-07-17 01:50:48 - __MAKE_CONF=/dev/null TB --- 2011-07-17 01:50:48 - cd /src TB --- 2011-07-17 01:50:48 - /usr/bin/make -B buildkernel KERNCONF=PAE >>> Kernel build for PAE started on Sun Jul 17 01:50:48 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PAE completed on Sun Jul 17 01:56:54 UTC 2011 TB --- 2011-07-17 01:56:54 - cd /src/sys/i386/conf TB --- 2011-07-17 01:56:54 - /usr/sbin/config -m XBOX TB --- 2011-07-17 01:56:54 - building XBOX kernel TB --- 2011-07-17 01:56:54 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-17 01:56:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-17 01:56:54 - TARGET=i386 TB --- 2011-07-17 01:56:54 - TARGET_ARCH=i386 TB --- 2011-07-17 01:56:54 - TZ=UTC TB --- 2011-07-17 01:56:54 - __MAKE_CONF=/dev/null TB --- 2011-07-17 01:56:54 - cd /src TB --- 2011-07-17 01:56:54 - /usr/bin/make -B buildkernel KERNCONF=XBOX >>> Kernel build for XBOX started on Sun Jul 17 01:56:54 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for XBOX completed on Sun Jul 17 02:00:00 UTC 2011 TB --- 2011-07-17 02:00:00 - cd /src/sys/i386/conf TB --- 2011-07-17 02:00:00 - /usr/sbin/config -m XEN TB --- 2011-07-17 02:00:00 - building XEN kernel TB --- 2011-07-17 02:00:00 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-17 02:00:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-17 02:00:00 - TARGET=i386 TB --- 2011-07-17 02:00:00 - TARGET_ARCH=i386 TB --- 2011-07-17 02:00:00 - TZ=UTC TB --- 2011-07-17 02:00:00 - __MAKE_CONF=/dev/null TB --- 2011-07-17 02:00:00 - cd /src TB --- 2011-07-17 02:00:00 - /usr/bin/make -B buildkernel KERNCONF=XEN >>> Kernel build for XEN started on Sun Jul 17 02:00:00 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh XEN cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror vers.c linking kernel.debug mptable_pci.o: In function `mptable_hostb_attach': /src/sys/x86/x86/mptable_pci.c:73: undefined reference to `mptable_pci_host_res_init' *** Error code 1 Stop in /obj/i386.i386/src/sys/XEN. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-07-17 02:05:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-07-17 02:05:15 - ERROR: failed to build XEN kernel TB --- 2011-07-17 02:05:15 - 8719.88 user 1623.06 system 11115.27 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-i386@FreeBSD.ORG Mon Jul 18 11:07:04 2011 Return-Path: Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 622FB106564A for ; Mon, 18 Jul 2011 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 501128FC15 for ; Mon, 18 Jul 2011 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6IB74dZ026796 for ; Mon, 18 Jul 2011 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IB73bo026794 for freebsd-i386@FreeBSD.org; Mon, 18 Jul 2011 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jul 2011 11:07:03 GMT Message-Id: <201107181107.p6IB73bo026794@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-i386@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-i386@FreeBSD.org X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/158653 i386 installing PC-BSD 9 Current with legacy USB Keyboard d o i386/158200 i386 wifi doesn't work on Acer AO751h, maybe WMI needs to b o i386/156229 i386 [hang] Server IBM x3400 is hangs with option SMP in Ke o i386/155695 i386 AMD Vision ultimate notebook HP Pavilion DV6 3109ER ov o i386/154578 i386 [boot] BTX Loader hangs > 1,5 min after listing BIOS d o i386/151122 i386 [boot] BTX 1.02 crashes on boot o i386/150766 i386 Dell Vostro 3700 siffle sous FreeBSD / Dell Vostro 370 o i386/149647 i386 [panic] Dell Inspiron 530 (FX09) panic at boot with 8. o i386/148848 i386 [hang] Load freezing at boot on HP Mini 311 o i386/148624 i386 PERC H200 Controller on Dell R610 Not recognized o i386/148509 i386 [boot] [patch] Improvements to i386/boot2's comments o i386/147458 i386 [boot] FreeBSD 8 can't boot from dvd, unless dvd is ex o i386/146446 i386 [install] FreeBSD 8.0 installation hangs at an early s o i386/146221 i386 [boot] incompatibility of the BTX with toshiba tecra R o i386/145718 i386 [est] [patch] fix freq calculation from MSR for CPUs w o i386/145079 i386 [boot] BTX halted on P3 server f i386/144956 i386 [boot] Early minute-plus delay in boot on Intel Nehale o i386/143587 i386 [boot] [hang] BTX 1.02 freezes upon assigning Bios C d o i386/142946 i386 [boot] Can't boot installation DVD. BTX halted f i386/142934 i386 [boot] Cannot boot FreeBSD 6.4, 7.x on Hint Corp VX Pr o i386/142421 i386 [ata] optical drives not found o i386/142190 i386 [boot] BTX Loader issue on Gigabyte Motherboard o i386/142108 i386 [panic] vm_fault: fault on nofault entry, addr: c32a40 o i386/141675 i386 [boot] memory and BTX halted on Sunfire X4170 o i386/141470 i386 [boot] BTX halted immediatly on selecting any of the b o i386/141468 i386 [boot] FreeBSD 8.0 boot manager can cause disk not pro o i386/140655 i386 [panic] Lenovo X300: fatal trap 12 after /sbin/halt -p o i386/140645 i386 [irq] High INTERRUPT rate on CPU 0 o i386/140448 i386 [boot] BTX loader hangs after displaying BIOS drives o i386/140268 i386 [install] 8.0-RC* does not install on MSI MS-7255 [reg o i386/139999 i386 [panic] random freeze and crash o i386/139743 i386 [ichsmb] [patch] ichsmb driver doesn't detects SMB bus o i386/139115 i386 [cpufreq] low cpu frequency reported [regression] o i386/138948 i386 [twa] [regression] da0: Fi o i386/138126 i386 [panic] Kernel panic trap 12 on bigger load f i386/137925 i386 [boot] BTX loader hangs when raid volume present [regr o i386/133727 i386 chars [[[[[[[[[[[[[ occur during install process (sett f i386/133388 i386 [est] est causes wrong dev.cpu.0.freq_levels values o i386/132230 i386 [boot] [reboot] 7.1-RELEASE /boot/loader non-functiona o i386/131426 i386 hald makes cdrom fail o i386/130110 i386 [boot] BTX-Halted - booting with SAS/SATA Controller o i386/129550 i386 [pae] [kqueue] crash with PAE kernel o i386/127374 i386 Suspend/Resume with Keystroke only once on Thinkpad T4 o i386/127343 i386 [hang] System locks -- simular to PR 123729 o i386/127337 i386 [boot] FreeBSD 7.1/i386 BTX boot problem on Pavilion d o i386/126666 i386 [boot] [hang] boot failure for nForce 630i / GeForce 7 o i386/126162 i386 [acpi] ACPI autoload failed : loading required module o i386/125592 i386 [hang] FreeBSD 7 server in hang o i386/124633 i386 [boot] [panic] 7.0 does not boot from CD o i386/124124 i386 [boot] [panic] Page fault while booting livefs iso of o i386/123990 i386 [boot] BTX halted on Thinkpad x60s o i386/123462 i386 clock is too fast a i386/122887 i386 [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed f i386/121903 i386 [ips] [boot] can't boot on IBM x235 ServeRaid 6M [regr f i386/117297 i386 [hang] System hangs up every day f i386/116844 i386 [boot] [hang] cannot boot from cd when using Dell Vost f i386/115947 i386 [hang] Dell poweredge 860 hangs when stressed and ACPI f i386/115854 i386 [boot] [install] Install FreeBSD with USB CDROM causes f i386/114208 i386 [boot] Problem booting the FreeBSD CD ISO image f i386/114192 i386 Fail to boot with "error issuing ATA_IDENTIFY command" f i386/112580 i386 [boot] BTX Halted on HP DV6255 Notebook f i386/112487 i386 [sio] kernel panic on swi0:sio f i386/109610 i386 [panic] Fatal trap 12: page fault while in kernel mode f i386/109568 i386 [panic] Reboot server with "Fatal trap 12" f i386/108185 i386 [panic] freebsd 6.2 fatal kernel trap f i386/107382 i386 [install] "Fatal trap 12" when installing FreeBSD 6.1 f i386/105175 i386 [ipmi] ipmi acpi trouble on supermicro server f i386/105063 i386 [sio] US Robotics (3Com) 3CP5609 PCI 16550 Modem works f i386/104719 i386 [ata] Seagate ST3802110A errors/delays when using PIO4 f i386/102562 i386 [em] no traffic pass through a em card after approx. a f i386/102410 i386 [install] FreeBSD 6.1-RELEASE installation boot freeze f i386/101616 i386 [hang] FreeBSD freeze on bootup, Compaq Proliant (lega f i386/101062 i386 [hang] Freeze on detect Intel 900 VGA on boot with ACP f i386/100831 i386 [sio] sio ignores BIOS information about serial ports f i386/100420 i386 [boot] boot1/boot2 lba error f i386/100204 i386 FreeBSD reports raid as broken - but it is not f i386/99608 i386 [atapicam] ATAPI or CAM crash on FreeBSD 6.1-stable wi f i386/98765 i386 [ata] timeouts on sata drive (Asus a7n8x-e) f i386/98215 i386 [geode] [regression] FreeBSD can no longer boot Geode f i386/98154 i386 6-STABLE crashes when being online via modem (Fujitsu f i386/97263 i386 [ata] FreeBSD only detects first drive on PDC20378 378 f i386/96357 i386 FreeBSD cannot recognize all the logical partitions f i386/93793 i386 [keyboard] Keyboard stops working after a shutdown -p f i386/92193 i386 [boot] Can't boot from 6.0 Installation CD: BTX halted s i386/88755 i386 [install] FreeBSD R6.0 on ThinkPad R40 installation re s i386/88139 i386 [i386] [request] 53C875 Chipset HP 5064-6016 doesn't w f i386/80268 i386 [panic] System with Transmeta Efficeon cpu crashes whi o i386/79091 i386 [i386] [patch] Small optimization for i386/support.s f i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice 89 problems total. From owner-freebsd-i386@FreeBSD.ORG Wed Jul 20 00:03:42 2011 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AD56106564A; Wed, 20 Jul 2011 00:03:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id B484D8FC0A; Wed, 20 Jul 2011 00:03:41 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p6K03eEZ053423; Tue, 19 Jul 2011 20:03:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p6K03eof053389; Wed, 20 Jul 2011 00:03:40 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 20 Jul 2011 00:03:40 GMT Message-Id: <201107200003.p6K03eof053389@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 00:03:42 -0000 TB --- 2011-07-19 21:50:00 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-07-19 21:50:00 - starting HEAD tinderbox run for i386/pc98 TB --- 2011-07-19 21:50:00 - cleaning the object tree TB --- 2011-07-19 21:50:40 - cvsupping the source tree TB --- 2011-07-19 21:50:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/pc98/supfile TB --- 2011-07-19 21:50:58 - building world TB --- 2011-07-19 21:50:58 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-19 21:50:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-19 21:50:58 - TARGET=pc98 TB --- 2011-07-19 21:50:58 - TARGET_ARCH=i386 TB --- 2011-07-19 21:50:58 - TZ=UTC TB --- 2011-07-19 21:50:58 - __MAKE_CONF=/dev/null TB --- 2011-07-19 21:50:58 - cd /src TB --- 2011-07-19 21:50:58 - /usr/bin/make -B buildworld >>> World build started on Tue Jul 19 21:50:59 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jul 19 23:52:01 UTC 2011 TB --- 2011-07-19 23:52:02 - generating LINT kernel config TB --- 2011-07-19 23:52:02 - cd /src/sys/pc98/conf TB --- 2011-07-19 23:52:02 - /usr/bin/make -B LINT TB --- 2011-07-19 23:52:02 - building LINT kernel TB --- 2011-07-19 23:52:02 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-19 23:52:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-19 23:52:02 - TARGET=pc98 TB --- 2011-07-19 23:52:02 - TARGET_ARCH=i386 TB --- 2011-07-19 23:52:02 - TZ=UTC TB --- 2011-07-19 23:52:02 - __MAKE_CONF=/dev/null TB --- 2011-07-19 23:52:02 - cd /src TB --- 2011-07-19 23:52:02 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jul 19 23:52:02 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_output.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_phy.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_power.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_proto.c /src/sys/net80211/ieee80211_proto.c: In function 'ieee80211_csa_completeswitch': /src/sys/net80211/ieee80211_proto.c:1541: error: 'vap' undeclared (first use in this function) /src/sys/net80211/ieee80211_proto.c:1541: error: (Each undeclared identifier is reported only once /src/sys/net80211/ieee80211_proto.c:1541: error: for each function it appears in.) *** Error code 1 Stop in /obj/pc98.i386/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-07-20 00:03:39 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-07-20 00:03:39 - ERROR: failed to build lint kernel TB --- 2011-07-20 00:03:40 - 6324.91 user 1163.61 system 8019.01 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-i386@FreeBSD.ORG Wed Jul 20 00:11:58 2011 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9262106564A; Wed, 20 Jul 2011 00:11:58 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id A34728FC0A; Wed, 20 Jul 2011 00:11:58 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p6K0Bv3j004277; Tue, 19 Jul 2011 20:11:57 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p6K0BvrT004276; Wed, 20 Jul 2011 00:11:57 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 20 Jul 2011 00:11:57 GMT Message-Id: <201107200011.p6K0BvrT004276@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 00:11:59 -0000 TB --- 2011-07-19 21:50:00 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-07-19 21:50:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-07-19 21:50:00 - cleaning the object tree TB --- 2011-07-19 21:50:49 - cvsupping the source tree TB --- 2011-07-19 21:50:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-07-19 21:56:14 - building world TB --- 2011-07-19 21:56:14 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-19 21:56:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-19 21:56:14 - TARGET=i386 TB --- 2011-07-19 21:56:14 - TARGET_ARCH=i386 TB --- 2011-07-19 21:56:14 - TZ=UTC TB --- 2011-07-19 21:56:14 - __MAKE_CONF=/dev/null TB --- 2011-07-19 21:56:14 - cd /src TB --- 2011-07-19 21:56:14 - /usr/bin/make -B buildworld >>> World build started on Tue Jul 19 21:56:14 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jul 19 23:58:10 UTC 2011 TB --- 2011-07-19 23:58:10 - generating LINT kernel config TB --- 2011-07-19 23:58:10 - cd /src/sys/i386/conf TB --- 2011-07-19 23:58:10 - /usr/bin/make -B LINT TB --- 2011-07-19 23:58:11 - building LINT kernel TB --- 2011-07-19 23:58:11 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-19 23:58:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-19 23:58:11 - TARGET=i386 TB --- 2011-07-19 23:58:11 - TARGET_ARCH=i386 TB --- 2011-07-19 23:58:11 - TZ=UTC TB --- 2011-07-19 23:58:11 - __MAKE_CONF=/dev/null TB --- 2011-07-19 23:58:11 - cd /src TB --- 2011-07-19 23:58:11 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jul 19 23:58:11 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_output.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_phy.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_power.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/net80211/ieee80211_proto.c /src/sys/net80211/ieee80211_proto.c: In function 'ieee80211_csa_completeswitch': /src/sys/net80211/ieee80211_proto.c:1541: error: 'vap' undeclared (first use in this function) /src/sys/net80211/ieee80211_proto.c:1541: error: (Each undeclared identifier is reported only once /src/sys/net80211/ieee80211_proto.c:1541: error: for each function it appears in.) *** Error code 1 Stop in /obj/i386.i386/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-07-20 00:11:57 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-07-20 00:11:57 - ERROR: failed to build lint kernel TB --- 2011-07-20 00:11:57 - 6472.74 user 1161.91 system 8516.41 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-i386@FreeBSD.ORG Thu Jul 21 12:52:01 2011 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A56BD106566B; Thu, 21 Jul 2011 12:52:01 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 3114F8FC18; Thu, 21 Jul 2011 12:52:00 +0000 (UTC) Received: from park.js.berklix.net (p5DCBE76B.dip.t-dialin.net [93.203.231.107]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p6LCHZQP093565; Thu, 21 Jul 2011 12:17:36 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p6LCHaYl043364; Thu, 21 Jul 2011 14:17:36 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p6LCHV9p025307; Thu, 21 Jul 2011 12:17:36 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201107211217.p6LCHV9p025307@fire.js.berklix.net> To: freebsd-toolchain@freebsd.org, freebsd-i386@freebsd.org From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Linux Unix Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Thu, 21 Jul 2011 14:17:31 +0200 Sender: jhs@berklix.com Cc: freebsd-hackers@freebsd.org Subject: Re: Freebsd-7.4 + std gcc 4.2.1 fails to honour -march=i586 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-hackers@freebsd.org List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 12:52:01 -0000 Hi freebsd-toolchain@freebsd.org, freebsd-i386@freebsd.org cc: freebsd-hackers@freebsd.org Sun Jul 17 01:19:37 UTC 2011 I wrote to freebsd-hackers@ with Subject: Freebsd-7.4 + std gcc 4.2.1 fails to honour -march=i586 Summary: I found a problem with CFLAGS += -march=i586 on an i686 linking a crt.o for an i686, then not running on an i586, I suggested maybe -march could be extended to also select seperate lib sub directories to at least trigger a link failure, rather than a silent apparent good compile of a bad binary. Others on freebsd-hackers@ made various follow up. People on freebsd-toolchain@ & freebsd-i386@ might have valuable input ? Not wanting to split the thread between lists, or cross post, More than this one) or lose people on freebsd-hackers@, Could you please look at http://lists.freebsd.org/pipermail/freebsd-hackers/2011-July/035889.html & reply-to: freebsd-hackers@freebsd.org Thanks ! (PS I'm not on freebsd-toolchain@ & freebsd-i386@, but am on freebsd-hackers@ ) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-i386@FreeBSD.ORG Thu Jul 21 13:51:33 2011 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6B82106566B; Thu, 21 Jul 2011 13:51:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id A96288FC17; Thu, 21 Jul 2011 13:51:33 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:7469:953f:9d81:458a] (unknown [IPv6:2001:7b8:3a7:0:7469:953f:9d81:458a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id F0E225C37; Thu, 21 Jul 2011 15:51:31 +0200 (CEST) Message-ID: <4E282EE4.50500@FreeBSD.org> Date: Thu, 21 Jul 2011 15:51:32 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <201107211217.p6LCHV9p025307@fire.js.berklix.net> In-Reply-To: <201107211217.p6LCHV9p025307@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Julian H. Stacey" , freebsd-toolchain@freebsd.org, freebsd-i386@freebsd.org Subject: Re: Freebsd-7.4 + std gcc 4.2.1 fails to honour -march=i586 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 13:51:34 -0000 On 2011-07-21 14:17, Julian H. Stacey wrote: > Summary: > I found a problem with CFLAGS += -march=i586 on an i686 linking > a crt.o for an i686, then not running on an i586, IMHO this is a bit of a PEBKAC issue. If you change CPUFLAGS to target a specific CPU, you should really rebuild all of world with it, not just a single program. In fact, you should rebuild all your ports too. > I suggested > maybe -march could be extended to also select seperate lib sub > directories to at least trigger a link failure, rather than a silent > apparent good compile of a bad binary. I think this would add a whole lot of complexity for very little gain, and still not save you from potential problems. You would really have to use the same approach for all system libraries, otherwise you might link in something from e.g. libc or libcrypto that was optimized for the wrong CPU. And I'm not even mentioning objects and/or libraries from ports... :) The compiler cannot automagically determine whether any object or library file you link into your program is fit to run on the CPU you are targeting, unless you would add information specifying the CPU type (and other particulars) to the object files themselves. In the end, it is up to you to make sure you do not mix "incompatible" object code. Having said all this, if you are worried particularly about the crt*.o files, then we could simply always build those with 'lowest common denominator' flags, like we do with e.g. the dynamic linker. I doubt very much that the startup code gains any performance by optimizing for higher CPU types. From owner-freebsd-i386@FreeBSD.ORG Thu Jul 21 15:47:08 2011 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9404C1065680; Thu, 21 Jul 2011 15:47:08 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 227118FC1D; Thu, 21 Jul 2011 15:47:07 +0000 (UTC) Received: from park.js.berklix.net (pD9FBF955.dip.t-dialin.net [217.251.249.85]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p6LFl5vH095204; Thu, 21 Jul 2011 15:47:06 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p6LFl0cV044399; Thu, 21 Jul 2011 17:47:00 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p6LFkweJ026837; Thu, 21 Jul 2011 15:47:03 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201107211547.p6LFkweJ026837@fire.js.berklix.net> To: Dimitry Andric From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 21 Jul 2011 15:51:32 +0200." <4E282EE4.50500@FreeBSD.org> Date: Thu, 21 Jul 2011 17:46:58 +0200 Sender: jhs@berklix.com Cc: freebsd-toolchain@freebsd.org, freebsd-i386@freebsd.org Subject: Re: Freebsd-7.4 + std gcc 4.2.1 fails to honour -march=i586 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hackers@freebsd.org List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 15:47:08 -0000 Reference: > From: Dimitry Andric > Date: Thu, 21 Jul 2011 15:51:32 +0200 > Message-id: <4E282EE4.50500@FreeBSD.org> Dimitry Andric wrote: > On 2011-07-21 14:17, Julian H. Stacey wrote: ... AAARGH .... !!! Please I ASKED people only to reply to hackers@ not the other 2 lists. I also set header Reply-To: freebsd-hackers@freebsd.org & it got through like that, so you or your mailer tool Ignored it ? It would be contrary to list etiquette to let this explode into a triple cross post thread. (thus Ive already dropped hackers@ for this. I will NOT address remarks on a triple cross post to all of freebsd-hackers@freebsd.org freebsd-toolchain@freebsd.org freebsd-i386@freebsd.org Again I ask you to PLEASE first read the web'd archive of thread, then ONLY reply-to: hackers@freebsd.org. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-i386@FreeBSD.ORG Fri Jul 22 06:50:08 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECAA8106566C for ; Fri, 22 Jul 2011 06:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C42208FC15 for ; Fri, 22 Jul 2011 06:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6M6o8NT052647 for ; Fri, 22 Jul 2011 06:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6M6o8uK052646; Fri, 22 Jul 2011 06:50:08 GMT (envelope-from gnats) Resent-Date: Fri, 22 Jul 2011 06:50:08 GMT Resent-Message-Id: <201107220650.p6M6o8uK052646@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sreeram B S Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9857E1065670 for ; Fri, 22 Jul 2011 06:45:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6DD8FC15 for ; Fri, 22 Jul 2011 06:45:29 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6M6jSXn037418 for ; Fri, 22 Jul 2011 06:45:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6M6jS6E037394; Fri, 22 Jul 2011 06:45:28 GMT (envelope-from nobody) Message-Id: <201107220645.p6M6jS6E037394@red.freebsd.org> Date: Fri, 22 Jul 2011 06:45:28 GMT From: Sreeram B S To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/159099: ioctl SIOCGIFCONF reports interface names which are blank X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 06:50:09 -0000 >Number: 159099 >Category: i386 >Synopsis: ioctl SIOCGIFCONF reports interface names which are blank >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 22 06:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Sreeram B S >Release: 7.2 >Organization: >Environment: bsd213-64# uname -a FreeBSD bsd213-64.lab.eng.btc.netapp.in 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 bsd213-64# >Description: Hi, I have written a program to output interface names. This program uses the ioctl SIOCGIFCONF. The program compiles successfully, but upon execution, the output contains valid interface names *and* bland interface names, as well. The program and its output are as follows: ********************************************************** bsd213-64# cat ifaddr.c /* This is a program to identify the interfaces and their ip-addresses. */ #include #include #include #include #include #include #include int main() { int sock, temp; u_char buf[1024], *ptr; struct ifconf ifc; struct ifreq *ifr; /* Create a UDP socket. */ sock = socket(AF_INET, SOCK_DGRAM, 0); if (sock < 0) { perror("Socket"); exit(-1); } printf("Created the socket.\n"); /* Call ioctl() to get the interface information. */ ifc.ifc_buf = buf; ifc.ifc_len = 1024; temp = ioctl(sock, SIOCGIFCONF, &ifc); if (temp < 0) { perror("SIOCIFCONF"); close(sock); exit(-2); } printf("Got the information of the interfaces.\n"); printf("Information length: %d\n", ifc.ifc_len); /* Run through each interface now. */ for (ptr = ifc.ifc_buf; ptr < buf + ifc.ifc_len;) { ifr = (struct ifreq *)ptr; printf(" %s : \n", ifr->ifr_name); ptr = ptr + sizeof(struct ifreq); } close(sock); exit(0); } ######## Output ########## bsd213-64# ./ifaddr Created the socket. Got the information of the interfaces. Information length: 368 bce0 : i : : : bce1 : : 8 : : : : : : bsd213-64# ****************************************************************** But upon running the same program, absolutely same (without even a single change), on a Linux machine or a Solaris 10 machine, the output contains only valid interface names, which is the expected behavior. ***************************************************************** [sreeramb@sreeramb1-lxp misc]$ uname -o GNU/Linux [sreeramb@sreeramb1-lxp misc]$ [sreeramb@sreeramb1-lxp misc]$ gcc ifaddr.c -o ifaddr [sreeramb@sreeramb1-lxp misc]$ ./ifaddr Created the socket. Got the information of the interfaces. Information length: 96 lo : eth0 : virbr0 : [sreeramb@sreeramb1-lxp misc]$ ***************************************************************** This means that the data returned by the ioctl SIOCGIFCONF is incorrect or the format is messed up. This needs attention and has to be corrected. Please note that I understand that there are other methods to obtain the interfaces and IP addresses like using getipaddrs() system call etc. But incorrect behavior of SIOCGIFCONF needs attention because: 1. This leads to portability problems. Any program using this ioctl and running well on other OSes cannot be portable on FreeBSD because of the problem in the ioctl. 2. Moreover, this ioctl is important since almost all network related applications use it and it should be intact. Please provide a fix for this. Regards, Sreeram >How-To-Repeat: Please compile and execute the program pasted above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-i386@FreeBSD.ORG Fri Jul 22 07:10:05 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED4D106566B for ; Fri, 22 Jul 2011 07:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5671C8FC15 for ; Fri, 22 Jul 2011 07:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6M7A5qb069556 for ; Fri, 22 Jul 2011 07:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6M7A55Y069555; Fri, 22 Jul 2011 07:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 22 Jul 2011 07:10:05 GMT Resent-Message-Id: <201107220710.p6M7A55Y069555@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sreeram B S Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42A8C106566B for ; Fri, 22 Jul 2011 07:07:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2794B8FC08 for ; Fri, 22 Jul 2011 07:07:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6M7741n085380 for ; Fri, 22 Jul 2011 07:07:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6M774o2085379; Fri, 22 Jul 2011 07:07:04 GMT (envelope-from nobody) Message-Id: <201107220707.p6M774o2085379@red.freebsd.org> Date: Fri, 22 Jul 2011 07:07:04 GMT From: Sreeram B S To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/159100: ioctl SIOCGIFCONF reports interface names which are blank X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 07:10:05 -0000 >Number: 159100 >Category: i386 >Synopsis: ioctl SIOCGIFCONF reports interface names which are blank >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 22 07:10:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Sreeram B S >Release: 7.2 >Organization: NetApp >Environment: FreeBSD bsd213-64.lab.eng.btc.netapp.in 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Hi, I have written a program to output interface names. This program uses the ioctl SIOCGIFCONF. The program compiles successfully, but upon execution, the output contains valid interface names *and* bland interface names, as well. The program and its output are as follows: ********************************************************** bsd213-64# cat ifaddr.c /* This is a program to identify the interfaces and their ip-addresses. */ #include #include #include #include #include #include #include int main() { int sock, temp; u_char buf[1024], *ptr; struct ifconf ifc; struct ifreq *ifr; /* Create a UDP socket. */ sock = socket(AF_INET, SOCK_DGRAM, 0); if (sock < 0) { perror("Socket"); exit(-1); } printf("Created the socket.\n"); /* Call ioctl() to get the interface information. */ ifc.ifc_buf = buf; ifc.ifc_len = 1024; temp = ioctl(sock, SIOCGIFCONF, &ifc); if (temp < 0) { perror("SIOCIFCONF"); close(sock); exit(-2); } printf("Got the information of the interfaces.\n"); printf("Information length: %d\n", ifc.ifc_len); /* Run through each interface now. */ for (ptr = ifc.ifc_buf; ptr < buf + ifc.ifc_len;) { ifr = (struct ifreq *)ptr; printf(" %s : \n", ifr->ifr_name); ptr = ptr + sizeof(struct ifreq); } close(sock); exit(0); } ######## Output ########## bsd213-64# ./ifaddr Created the socket. Got the information of the interfaces. Information length: 368 bce0 : i : : : bce1 : : 8 : : : : : : bsd213-64# ****************************************************************** But upon running the same program, absolutely same (without even a single change), on a Linux machine or a Solaris 10 machine, the output contains only valid interface names, which is the expected behavior. ***************************************************************** [sreeramb@sreeramb1-lxp misc]$ uname -o GNU/Linux [sreeramb@sreeramb1-lxp misc]$ [sreeramb@sreeramb1-lxp misc]$ gcc ifaddr.c -o ifaddr [sreeramb@sreeramb1-lxp misc]$ ./ifaddr Created the socket. Got the information of the interfaces. Information length: 96 lo : eth0 : virbr0 : [sreeramb@sreeramb1-lxp misc]$ ***************************************************************** This means that the data returned by the ioctl SIOCGIFCONF is incorrect or the format is messed up. This needs attention and has to be corrected. Please note that I understand that there are other methods to obtain the interfaces and IP addresses like using getipaddrs() system call etc. But incorrect behavior of SIOCGIFCONF needs attention because: 1. This leads to portability problems. Any program using this ioctl and running well on other OSes cannot be portable on FreeBSD because of the problem in the ioctl. 2. Moreover, this ioctl is important since almost all network related applications use it and it should be intact. Please provide a fix for this. Regards, Sreeram >How-To-Repeat: Please compile and execute the program mentioned above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-i386@FreeBSD.ORG Fri Jul 22 09:35:57 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DA28106566B; Fri, 22 Jul 2011 09:35:57 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 055678FC08; Fri, 22 Jul 2011 09:35:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6M9Zu0t034694; Fri, 22 Jul 2011 09:35:56 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6M9Zuve034690; Fri, 22 Jul 2011 09:35:56 GMT (envelope-from linimon) Date: Fri, 22 Jul 2011 09:35:56 GMT Message-Id: <201107220935.p6M9Zuve034690@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-bugs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/159099: [ioctl] ioctl SIOCGIFCONF reports interface names which are blank X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 09:35:57 -0000 Old Synopsis: ioctl SIOCGIFCONF reports interface names which are blank New Synopsis: [ioctl] ioctl SIOCGIFCONF reports interface names which are blank Responsible-Changed-From-To: freebsd-i386->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jul 22 09:34:44 UTC 2011 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=159099