From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 07:10:17 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA02516A4CE for ; Sat, 1 Jan 2005 07:10:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B4EE43D4C for ; Sat, 1 Jan 2005 07:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j017AHC7018533 for ; Sat, 1 Jan 2005 07:10:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j017AHum018529; Sat, 1 Jan 2005 07:10:17 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2005 07:10:17 GMT Resent-Message-Id: <200501010710.j017AHum018529@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AA1816A4CE for ; Sat, 1 Jan 2005 07:02:11 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5192D43D31 for ; Sat, 1 Jan 2005 07:02:11 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0172Bf8024087 for ; Sat, 1 Jan 2005 07:02:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j0172B17024086; Sat, 1 Jan 2005 07:02:11 GMT (envelope-from nobody) Message-Id: <200501010702.j0172B17024086@www.freebsd.org> Date: Sat, 1 Jan 2005 07:02:11 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 07:10:17 -0000 >Number: 75702 >Category: misc >Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 07:10:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 5.3-STABLE-i386 >Organization: N/A >Environment: FreeBSD xxx.xxx.xxx 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When /etc/make.conf has high optimization option set (CFLAGS=-O5) some of compiles break. example: cc -O5 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/rpc/getpublickey.c gives an warning equal to error (due to -Werror): /usr/src/lib/libc/rpc/getpublickey.c: In function `getpublickey': /usr/src/lib/libc/rpc/getpublickey.c:69: warning: passing arg 1 of `__getpublickey_real' discards qualifiers from pointer target type but there are many more similar warnings/errors >How-To-Repeat: add line CFLAGS=-O5 to the file /etc/make.conf and run "make buildworld" from /usr/src >Fix: N/A >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 10:30:30 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9DDA16A4CE for ; Sat, 1 Jan 2005 10:30:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F84143D2D for ; Sat, 1 Jan 2005 10:30:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01AUUgX038970 for ; Sat, 1 Jan 2005 10:30:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01AUUWa038969; Sat, 1 Jan 2005 10:30:30 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2005 10:30:30 GMT Resent-Message-Id: <200501011030.j01AUUWa038969@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Stocker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BE8216A4CE for ; Sat, 1 Jan 2005 10:24:56 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2039A43D1D for ; Sat, 1 Jan 2005 10:24:56 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j01AOt4B092120 for ; Sat, 1 Jan 2005 10:24:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j01AOtmN092118; Sat, 1 Jan 2005 10:24:55 GMT (envelope-from nobody) Message-Id: <200501011024.j01AOtmN092118@www.freebsd.org> Date: Sat, 1 Jan 2005 10:24:55 GMT From: Jan Stocker To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/75705: PANIC: da0 attach / Optio S4 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 10:30:31 -0000 >Number: 75705 >Category: kern >Synopsis: PANIC: da0 attach / Optio S4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 10:30:30 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jan Stocker >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD tron 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Dec 5 18:45:55 CET 2004 root@tron:/usr/src/sys/i386/compile/Tron53 i386 Hardware: Samsung M40 Notebook with Pentium M 725 FreeBSD 5.3-RELEASE and GENERIC kernel (only added kernel debugger for stacktrace, but panics without, too) >Description: This causes the panic: - plugin in a Pentax Optio S4 camera to USB port, turn on camera. all text is copied by pen&paper, so it can contain some typos also it isn't in complete detail at the end. ________________________________ Fatal trap 18: integer divide fault while in kernel mode IP = 0x8:0xc07ca4df SP = 0x10:0xd43ea9f4 FP = 0x10:0xd43eaa7c CS = base 0x0, limit 0xffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enable, resume, IOPL = 0 current process = 2(g_event) thread 100026 Stopped at 0x7ca4df = __qdivrem + 0x3b: divl %ecx, %eax ________________________________ where eax=1 and ecx=0 ________________________________ backtrace __qdivrem (726f6f,0,0,0,0) at 0xc07ca4df = __qdivrem+0x3b __udivdi3 (726f6f,0,0,0) at 0xc07ca92a = __udivdi3+0x16 cam_calc_geometry (d43eab24,1,c1d85960,c1a81190,1a782f6) at 0xc04445ca = cam_calc_geometry+0x26 umass_cam_action(c2427440,d43eab24) at 0xc05b21a6 = umass_cam_action+0x3a6 xpt_action (d43eab24,d43eab24,c1e82890,1,1) at 0x0448726 = xpt_action+0x272 dasetgeom (c245fd80,d83ec2,726f6e,0) at 0xc0454e11 = dasetgeom+0x69 dagetcapacity (c245fd80,c062af11,d43eac00,c0f07d24,d43eac34) at 0x0454d82 = dagetcapacity+0x266 daopen+0x71 g_disk_access+0xe2 g_access+0xfa g_slice_new+0x99 g_mbr_taste+0x3c g_new_provider_event+0x56 one_event+0x190 g_run_events+0x9 g_event_procbody+0x21 ________________________________ jstocker@tron:~ # dmesg Copyright (c) 1992-2004 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 5.3-RELEASE #0: Sun Dec 5 18:45:55 CET 2004 root@tron:/usr/src/sys/i386/compile/Tron53 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1595.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9f9bf real memory = 536281088 (511 MB) avail memory = 510914560 (487 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xd8000000-0xdfffffff,0xc8000000-0xc8ffffff irq 11 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB Receiver, rev 1.10/20.10, addr 2, iclass 3/1 ums0: 7 buttons and Z dir. uhci1: port 0x1820-0x183f irq 10 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 10 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: at device 3.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 3.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: mem 0xd0003000-0xd00037ff at device 3.2 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:f0:41:08:02:31:46 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:f0:02:31:46 fwe0: Ethernet address: 02:00:f0:02:31:46 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) bfe0: mem 0xd0000000-0xd0001fff irq 10 at device 5.0 on pci2 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:00:f0:72:38:86 bfe0: [GIANT-LOCKED] iwi0: mem 0xd0002000-0xd0002fff irq 5 at device 7.0 on pci2 iwi0: Ethernet address: 00:0e:35:5d:87:a3 iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 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 IntelliMouse, device ID 3 orm0: at iomem 0xe0000-0xe3fff,0xdc000-0xdffff,0xd0000-0xd3fff,0xc0000-0xcffff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1595301062 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 4 steps (100% to 25.0%), currently 100.0% ad0: 57231MB [116280/16/63] at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s2a >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 11:22:08 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22B1516A4CE; Sat, 1 Jan 2005 11:22:08 +0000 (GMT) Received: from webmail.uoi.gr (webmail.uoi.gr [195.130.120.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A0C343D45; Sat, 1 Jan 2005 11:22:05 +0000 (GMT) (envelope-from dkouroun@cc.uoi.gr) Received: from webmail.uoi.gr (localhost [127.0.0.1])j01BM3NP019397; Sat, 1 Jan 2005 13:22:03 +0200 Received: (from wwwrun@localhost) by webmail.uoi.gr (8.12.10/8.12.10/Submit) id j01BM3mD019396; Sat, 1 Jan 2005 13:22:03 +0200 Received: from 212-70-197-171.rod.dialup.tee.gr (212-70-197-171.rod.dialup.tee.gr [212.70.197.171]) by webmail.uoi.gr (IMP) with HTTP for ; Sat, 1 Jan 2005 13:22:03 +0200 Message-ID: <1104578523.41d687db333c2@webmail.uoi.gr> Date: Sat, 1 Jan 2005 13:22:03 +0200 From: dkouroun@cc.uoi.gr To: freebsd-bugs@freebsd.org, freebsd-performance@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 212.70.197.171 Subject: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 11:22:08 -0000 Dear FreeBSD people, I had problems in my ATHLON-XP with 5.3 Release. While compiling the kernel to use NVIDIA drivers I opened emacs and everything freezed 2 times! The third time I didn't touch emacs so the kernel compilation finished without everything to freeze! Thus I decided to install FreeBSD 4.10! Everything was working fine! I then recompiled the kernel such that I can use the nvidia drivers. Here is my config --------------------------------------------------------- # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.59 2004/04/07 20:29:01 vkashyap Exp $ machine i386 #cpu I386_CPU #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident MYKERNEL maxusers 0 makeoptions CONF_CFLAGS=-fno-builtin #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking #options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, # don't use the above line for fdc0 but the following one: #device fdc0 device atapicam # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device mpt # LSI-Logic MPT/Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets) #options SYM_SETUP_LP_PROBE_MAP=0x40 # Allow ncr to attach legacy NCR devices when # both sym and ncr are configured #device adv0 at isa? #device adw #device bt0 at isa? #device aha0 at isa? #device aic0 at isa? #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # RAID controllers interfaced to the SCSI subsystem #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device dpt # DPT Smartcache - See LINT for options! #device iir # Intel Integrated RAID #device mly # Mylex AcceleRAID/eXtremeRAID #device ciss # Compaq SmartRAID 5* series #device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers #device aac # Adaptec FSA RAID, Dell PERC2/PERC3 #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device amr # AMI MegaRAID #device mlx # Mylex DAC960 family #device pst # Promise Supertrak SX6000 #device twe # 3ware Escalade # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver #pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std #device agp # support several AGP chipsets # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0 at nexus? disable flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support #device card #device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 #device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port #device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'') #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! #device miibus # MII bus support #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device pcn # AMD Am79C97x PCI 10/100 NICs #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device ste # Sundance ST201 (D-Link DFE-550TX) #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') #device bge # Broadcom BCM570x (``Tigon III'') # ISA Ethernet NICs. # 'device ed' requires 'device miibus' #device ed0 at isa? disable port 0x280 irq 10 iomem 0xd8000 #device ex #device ep #device fe0 at isa? disable port 0x300 # Xircom Ethernet #device xe # PRISM I IEEE 802.11b wireless NIC. #device awi # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really # exists only as a PCMCIA device, so there is no ISA attachment needed # and resources will always be dynamically assigned by the pccard code. device wi # Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will # work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP # mode (the factory default). If you set the switches on your ISA # card for a manually chosen I/O address and IRQ, you must specify # those parameters here. device an # The probe order of these is presently determined by i386/isa/isa_compat.c. device ie0 at isa? disable port 0x300 irq 10 iomem 0xd0000 device le0 at isa? disable port 0x300 irq 5 iomem 0xd0000 device lnc0 at isa? disable port 0x280 irq 10 drq 0 device cs0 at isa? disable port 0x300 device sn0 at isa? disable port 0x300 irq 10 # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # USB support #device uhci # UHCI PCI->USB interface #device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device ugen # Generic #device uhid # "Human Interface Devices" #device ukbd # Keyboard #device ulpt # Printer #device umass # Disks/Mass storage - Requires scbus and da #device ums # Mouse #device uscanner # Scanners #device urio # Diamond Rio MP3 Player # USB Ethernet, requires mii #device aue # ADMtek USB ethernet #device cue # CATC USB ethernet #device kue # Kawasaki LSI USB ethernet # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) #options for AMD-ATHLON options CPU_ATHLON_SSE_HACK options CPU_ENABLE_SSE makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. # Certain applications can grow to be larger than the 128M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 256MB, and can be increased further # with changing the parameters. MAXDSIZ is the maximum that the # limit can be set to, and the DFLDSIZ is the default value for # the limit. MAXSSIZ is the maximum that the stack limit can be # set to. You might want to set the default lower than the max, # and explicitly set the maximum with a shell command for processes # that regularly exceed the limit like INND. # options MAXDSIZ="(256*1024*1024)" options MAXSSIZ="(256*1024*1024)" options DFLDSIZ="(256*1024*1024)" #for using k3b atapicam driver to mount /dev/cd0 instead of /dev/acd0 device atapicam --------------------------------------------------------- The result was that after succesful compilation I got a kernel panic when trying to boot so I couldn't boot at all! Thus I changed the config a little bit uncommenting some stuff. Here is the new config. --------------------------------------------------------- # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.59 2004/04/07 20:29:01 vkashyap Exp $ machine i386 #cpu I386_CPU #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident MYKERNEL maxusers 0 makeoptions CONF_CFLAGS=-fno-builtin #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking #options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, # don't use the above line for fdc0 but the following one: #device fdc0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices device ahd # AHA39320/29320 and onboard AIC79xx devices device amd # AMD 53C974 (Tekram DC-390(T)) device isp # Qlogic family device mpt # LSI-Logic MPT/Fusion device ncr # NCR/Symbios Logic device sym # NCR/Symbios Logic (newer chipsets) options SYM_SETUP_LP_PROBE_MAP=0x40 # Allow ncr to attach legacy NCR devices when # both sym and ncr are configured device adv0 at isa? device adw device bt0 at isa? device aha0 at isa? device aic0 at isa? device ncv # NCR 53C500 device nsp # Workbit Ninja SCSI-3 device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # RAID controllers interfaced to the SCSI subsystem device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID device dpt # DPT Smartcache - See LINT for options! device iir # Intel Integrated RAID device mly # Mylex AcceleRAID/eXtremeRAID device ciss # Compaq SmartRAID 5* series device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers device aac # Adaptec FSA RAID, Dell PERC2/PERC3 #device aacp # SCSI passthrough for aac (requires CAM) device ida # Compaq Smart RAID device amr # AMI MegaRAID device mlx # Mylex DAC960 family device pst # Promise Supertrak SX6000 device twe # 3ware Escalade # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std #device agp # support several AGP chipsets # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'') device txp # 3Com 3cR990 (``Typhoon'') device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes device fxp # Intel EtherExpress PRO/100B (82557, 82558) device pcn # AMD Am79C97x PCI 10/100 NICs device rl # RealTek 8129/8139 device sf # Adaptec AIC-6915 (``Starfire'') device sis # Silicon Integrated Systems SiS 900/SiS 7016 device ste # Sundance ST201 (D-Link DFE-550TX) device tl # Texas Instruments ThunderLAN device tx # SMC EtherPower II (83c170 ``EPIC'') device vr # VIA Rhine, Rhine II device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device bge # Broadcom BCM570x (``Tigon III'') # ISA Ethernet NICs. # 'device ed' requires 'device miibus' device ed0 at isa? disable port 0x280 irq 10 iomem 0xd8000 device ex device ep device fe0 at isa? disable port 0x300 # Xircom Ethernet device xe # PRISM I IEEE 802.11b wireless NIC. device awi # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really # exists only as a PCMCIA device, so there is no ISA attachment needed # and resources will always be dynamically assigned by the pccard code. device wi # Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will # work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP # mode (the factory default). If you set the switches on your ISA # card for a manually chosen I/O address and IRQ, you must specify # those parameters here. device an # The probe order of these is presently determined by i386/isa/isa_compat.c. device ie0 at isa? disable port 0x300 irq 10 iomem 0xd0000 #device le0 at isa? disable port 0x300 irq 5 iomem 0xd0000 device lnc0 at isa? disable port 0x280 irq 10 drq 0 device cs0 at isa? disable port 0x300 device sn0 at isa? disable port 0x300 irq 10 # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners device urio # Diamond Rio MP3 Player # USB Ethernet, requires mii device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) --------------------------------------------------------- I compiled both with '-O' and '-O2 -fomit-frame-pointer'. The kernel boots fine! Then I decided to try to compile that kernel with gcc-3.4.3 as well. The first problem was that I got an ***unknown option -fformat-exceptions trying to do make depend.*** Greping everywhere I found that this was declared in some /usr/share/mk/bsd.kern.mk in CWARNFLAGS variable. I removed it and recompiled. Then I got a lot of error messages which were corrected either by changing in each (switch) statement labels like: somelabel: } to somelabel: {} } or by replacing in CWARNFLAGS -ansi to -std=gnu99 After that The code compiled nicely but I got warnings about conflicting builtin types. I added makeoptions CONF_CFLAGS=-fno-builtin in my config but that didn't solve the problem and I had to add this explicitly in /usr/share/mk/bsd.kern.mk. After that those warnings dissapeared and I got the following: ......... ry=2 ../../kern/uipc_usrreq.c gcc-3.4.3 -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -std=gnu99 -fno-builtin -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 ../../kern/vfs_bio.c {standard input}: Assembler messages: {standard input}:5209: Error: bad register name `%sil' which I couldn't solve unless I changed explicitly the compilation of this one to gcc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -std=gnu99 -fno-builtin -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 ../../kern/vfs_bio.c using the native compiler! Then everything went on nicely until the linking : gcc-3.4.3 -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -std=gnu99 -fno-builtin -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 vers.c linking kernel ncr53c500.o: In function `ncv_world_start': ncr53c500.o(.text+0x415): undefined reference to `softintr' nsp.o: In function `nsp_world_start': nsp.o(.text+0xbab): undefined reference to `softintr' tmc18c30.o: In function `stg_world_start': tmc18c30.o(.text+0x2fc): undefined reference to `softintr' *** Error code 1 So I cannot link! Any suggestions? 1:) How can I fix this? 2:) Why FreBSD 4.10 is using such an old compiler? 3:) Has anybody tested FreeBSD 4.10 with gcc-3.4.X? Best Wishes! D.K. From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 12:01:50 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D528F16A4D0; Sat, 1 Jan 2005 12:01:50 +0000 (GMT) Received: from a.mx.ict1.everquick.net (a.mx.ict1.everquick.net [67.67.61.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D53243D58; Sat, 1 Jan 2005 12:01:50 +0000 (GMT) (envelope-from eddy+public+spam@noc.everquick.net) Received: from a.mx.ict1.everquick.net (localhost [127.0.0.1]) j01C1j6O018792; Sat, 1 Jan 2005 12:01:45 GMT X-Everquick-No-Abuse-1: Report any email abuse to or X-Everquick-No-Abuse-2: call +1 (785) 865-5885. Please be sure to reference X-Everquick-No-Abuse-3: the Message-Id and include GMT timestamps. Received: from localhost (eddy@localhost)j01C1jjE018789; Sat, 1 Jan 2005 12:01:45 GMT X-Authentication-Warning: a.mx.ict1.everquick.net: eddy owned process doing -bs Date: Sat, 1 Jan 2005 12:01:45 +0000 (GMT) From: "Edward B. Dreger" X-X-Sender: eddy@a.mx.ict1.everquick.net To: dkouroun@cc.uoi.gr In-Reply-To: <1104578523.41d687db333c2@webmail.uoi.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-bugs@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 12:01:51 -0000 > Date: Sat, 1 Jan 2005 13:22:03 +0200 > From: dkouroun@cc.uoi.gr > To: freebsd-bugs@freebsd.org, freebsd-performance@freebsd.org, > freebsd-questions@freebsd.org [ removed -performance from CC list ] > linking kernel > ncr53c500.o: In function `ncv_world_start': > ncr53c500.o(.text+0x415): undefined reference to `softintr' > nsp.o: In function `nsp_world_start': > nsp.o(.text+0xbab): undefined reference to `softintr' > tmc18c30.o: In function `stg_world_start': > tmc18c30.o(.text+0x2fc): undefined reference to `softintr' > *** Error code 1 > > So I cannot link! > > Any suggestions? http://lists.freebsd.org/pipermail/freebsd-hackers/2004-December/009422.html http://lists.freebsd.org/pipermail/freebsd-hackers/2004-December/009424.html > 1:) How can I fix this? Whack-a-mole until you're confident everything works correctly. It's a matter of trial and error. > 2:) Why FreBSD 4.10 is using such an old compiler? Nobody has upgraded it. What's there is stable and works; nobody has volunteered to replace it, test, and assure that all is correct. Efforts are going toward RELENG_5 and CURRENT. ]Note that I do not speak in any official capacity, and am open to corrections, but would be surprised if anyone disagreed. > 3:) Has anybody tested FreeBSD 4.10 with gcc-3.4.X? No. See above URLs; gcc 3.4 scared me, so I backed off to 3.3. Eddy -- Everquick Internet - http://www.everquick.net/ A division of Brotsman & Dreger, Inc. - http://www.brotsman.com/ Bandwidth, consulting, e-commerce, hosting, and network building Phone: +1 785 865 5885 Lawrence and [inter]national Phone: +1 316 794 8922 Wichita ________________________________________________________________________ DO NOT send mail to the following addresses: davidc@brics.com -*- jfconmaapaq@intc.net -*- sam@everquick.net Sending mail to spambait addresses is a great way to get blocked. From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 13:33:17 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3567616A4CE; Sat, 1 Jan 2005 13:33:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C6B943D2F; Sat, 1 Jan 2005 13:33:17 +0000 (GMT) (envelope-from simon@FreeBSD.org) Received: from freefall.freebsd.org (simon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01DXGJd062337; Sat, 1 Jan 2005 13:33:16 GMT (envelope-from simon@freefall.freebsd.org) Received: (from simon@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01DXGlU062333; Sat, 1 Jan 2005 13:33:16 GMT (envelope-from simon) Date: Sat, 1 Jan 2005 13:33:16 GMT From: "Simon L. Nielsen" Message-Id: <200501011333.j01DXGlU062333@freefall.freebsd.org> To: yuri@tsoft.com, simon@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 13:33:17 -0000 Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc State-Changed-From-To: open->closed State-Changed-By: simon State-Changed-When: Sat Jan 1 13:30:45 GMT 2005 State-Changed-Why: Quoting from /usr/share/examples/etc/make.conf : # Note that optimization settings other than -O and -O2 are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" before submitting bug reports # without patches to the developers. A lot of other things are also likely to break at higher optimization levels, which is why it is not supported. http://www.freebsd.org/cgi/query-pr.cgi?pr=75702 From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 14:46:27 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 049F016A4CE; Sat, 1 Jan 2005 14:46:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6BE143D31; Sat, 1 Jan 2005 14:46:26 +0000 (GMT) (envelope-from dwmalone@FreeBSD.org) Received: from freefall.freebsd.org (dwmalone@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01EkQof069864; Sat, 1 Jan 2005 14:46:26 GMT (envelope-from dwmalone@freefall.freebsd.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01EkQBd069860; Sat, 1 Jan 2005 14:46:26 GMT (envelope-from dwmalone) Date: Sat, 1 Jan 2005 14:46:26 GMT From: David Malone Message-Id: <200501011446.j01EkQBd069860@freefall.freebsd.org> To: yuri@tsoft.com, dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org, dwmalone@FreeBSD.org Subject: Re: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 14:46:27 -0000 Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc State-Changed-From-To: closed->open State-Changed-By: dwmalone State-Changed-When: Sat Jan 1 14:43:55 GMT 2005 State-Changed-Why: Though Simon is correct, that we do not support optimisation settings other than -O and -O2, the warning listed in the PR is a constness warning that we can probably fix. I'm interested in doing that, so I'll take the PR. David. Responsible-Changed-From-To: freebsd-bugs->dwmalone Responsible-Changed-By: dwmalone Responsible-Changed-When: Sat Jan 1 14:43:55 GMT 2005 Responsible-Changed-Why: Though Simon is correct, that we do not support optimisation settings other than -O and -O2, the warning listed in the PR is a constness warning that we can probably fix. I'm interested in doing that, so I'll take the PR. David. http://www.freebsd.org/cgi/query-pr.cgi?pr=75702 From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 15:06:51 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DBD016A4CE; Sat, 1 Jan 2005 15:06:51 +0000 (GMT) Received: from zaphod.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70DA843D39; Sat, 1 Jan 2005 15:06:50 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id DE2C111D79; Sat, 1 Jan 2005 16:06:48 +0100 (CET) Date: Sat, 1 Jan 2005 16:06:48 +0100 From: "Simon L. Nielsen" To: David Malone Message-ID: <20050101150648.GI761@zaphod.nitro.dk> References: <200501011446.j01EkQBd069860@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w2JjAQZceEVGylhD" Content-Disposition: inline In-Reply-To: <200501011446.j01EkQBd069860@freefall.freebsd.org> User-Agent: Mutt/1.5.6i cc: yuri@tsoft.com cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/75702: -O5 flag breaks some compiles in /usr/src/lib/libc X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 15:06:51 -0000 --w2JjAQZceEVGylhD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.01.01 14:46:26 +0000, David Malone wrote: > Synopsis: -O5 flag breaks some compiles in /usr/src/lib/libc >=20 > State-Changed-From-To: closed->open > State-Changed-By: dwmalone > State-Changed-When: Sat Jan 1 14:43:55 GMT 2005 > State-Changed-Why:=20 > Though Simon is correct, that we do not support optimisation settings > other than -O and -O2, the warning listed in the PR is a constness > warning that we can probably fix. I'm interested in doing that, so > I'll take the PR. OK, fair enough. In the past developers hasn't been interested in this kind of issues (AFAIK) without user supplied patches, which was why I thought it was better to have have the PR closed, if it was just going to be sitting in GNATS. --=20 Simon L. Nielsen --w2JjAQZceEVGylhD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB1ryIh9pcDSc1mlERAsY2AJ4pILeVMefeCO7Uu51+eOVE2r76LgCgwmvr Be/KkZFKAgicFX7+08Xf9ag= =5juC -----END PGP SIGNATURE----- --w2JjAQZceEVGylhD-- From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 15:33:30 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 559EE16A4CF for ; Sat, 1 Jan 2005 15:33:30 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 04E0043D31 for ; Sat, 1 Jan 2005 15:33:29 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 01 Jan 2005 15:33:27 -0000 Received: from pD95D8C77.dip.t-dialin.net (EHLO lofi.dyndns.org) (217.93.140.119) by mail.gmx.net (mp005) with SMTP; 01 Jan 2005 16:33:27 +0100 X-Authenticated: #443188 Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j01FXJeH004567 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 1 Jan 2005 16:33:21 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-performance@freebsd.org Date: Sat, 1 Jan 2005 16:33:13 +0100 User-Agent: KMail/1.7.2 References: <1104578523.41d687db333c2@webmail.uoi.gr> In-Reply-To: <1104578523.41d687db333c2@webmail.uoi.gr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1424334.fcF6YO3eXE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501011633.17589.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: freebsd-bugs@freebsd.org cc: dkouroun@cc.uoi.gr cc: freebsd-questions@freebsd.org Subject: Re: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 15:33:30 -0000 --nextPart1424334.fcF6YO3eXE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday, 1. January 2005 12:22, dkouroun@cc.uoi.gr wrote: > 2:) Why FreBSD 4.10 is using such an old compiler? Because it is a stable branch, and upgrading the compiler would break binar= y=20 compatibility all over the place. > 3:) Has anybody tested FreeBSD 4.10 with gcc-3.4.X? Compiling FreeBSD 4.x kernels and userland with gcc 3.x is unsupported. If = you=20 want to do it, you're on your own. P.S.: Please tone down the crossposting. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1424334.fcF6YO3eXE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB1sK9Xhc68WspdLARAum/AJ9M6Lf36Hd95leIskb+QKJOoZ5RhgCgmcNZ 0uLqeeAzc1d9+FCIzQHQVmc= =dEzV -----END PGP SIGNATURE----- --nextPart1424334.fcF6YO3eXE-- From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 18:20:08 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 490A216A4CF for ; Sat, 1 Jan 2005 18:20:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1013443D31 for ; Sat, 1 Jan 2005 18:20:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01IK786094540 for ; Sat, 1 Jan 2005 18:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01IK78f094539; Sat, 1 Jan 2005 18:20:07 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2005 18:20:07 GMT Resent-Message-Id: <200501011820.j01IK78f094539@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Graham Lilley Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2E4A16A4CE for ; Sat, 1 Jan 2005 18:19:43 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D001E43D2D for ; Sat, 1 Jan 2005 18:19:43 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j01IJhpL043284 for ; Sat, 1 Jan 2005 18:19:43 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j01IJh5M043282; Sat, 1 Jan 2005 18:19:43 GMT (envelope-from nobody) Message-Id: <200501011819.j01IJh5M043282@www.freebsd.org> Date: Sat, 1 Jan 2005 18:19:43 GMT From: Graham Lilley To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/75710: cue0 device configuration causes kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 18:20:08 -0000 >Number: 75710 >Category: kern >Synopsis: cue0 device configuration causes kernel panic >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 18:20:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Graham Lilley >Release: 5.3-RELEASE >Organization: Personal Use >Environment: FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: After a fresh installation on a Compaq Armada 110 Laptop (celeron 700mhz model), attaching a CATC Netmate II USB Ethernet adapter, is detected in dmesg, but when attempting to perform "ifconfig cue0 inet 10.0.7.22 netmask 255.255.255.0" the machine panics. Panic details as follows: Fatal Trap 12: page fault while in kernel mode fault virtual address = 0x64206567 fault code = supervisor read, page not present instruction pointer = 0x8:0xc05b1f10 stack pointer = 0x10:0xce2878bc frame pointer = 0x10:0xce2878d4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 406 (ifconfig) trap numbers = 12 panic: page fault Uptime: 3:38s Cannot dump. No dump device defined. >How-To-Repeat: at the console, type: "ifconfig cue0 up" or type: "ifconfig cue0 inet netmask " >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 18:59:10 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0339E16A4CE; Sat, 1 Jan 2005 18:59:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC3143D1F; Sat, 1 Jan 2005 18:59:09 +0000 (GMT) (envelope-from ceri@FreeBSD.org) Received: from freefall.freebsd.org (ceri@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01Ix9oe097108; Sat, 1 Jan 2005 18:59:09 GMT (envelope-from ceri@freefall.freebsd.org) Received: (from ceri@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01Ix9vM097104; Sat, 1 Jan 2005 18:59:09 GMT (envelope-from ceri) Date: Sat, 1 Jan 2005 18:59:09 GMT From: Ceri Davies Message-Id: <200501011859.j01Ix9vM097104@freefall.freebsd.org> To: gredman@hyper.net.nz, ceri@FreeBSD.org, freebsd-bugs@FreeBSD.org, ceri@FreeBSD.org Subject: Re: conf/75347: calendar.newzealand missing newline at end of file X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 18:59:10 -0000 Synopsis: calendar.newzealand missing newline at end of file State-Changed-From-To: open->patched State-Changed-By: ceri State-Changed-When: Sat Jan 1 18:57:36 GMT 2005 State-Changed-Why: Patched in head; will MFC shortly. Responsible-Changed-From-To: freebsd-bugs->ceri Responsible-Changed-By: ceri Responsible-Changed-When: Sat Jan 1 18:57:36 GMT 2005 Responsible-Changed-Why: My MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=75347 From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 19:43:19 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E36816A4CE; Sat, 1 Jan 2005 19:43:19 +0000 (GMT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9D6E43D31; Sat, 1 Jan 2005 19:43:18 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) j01Jh9j09636; Sat, 1 Jan 2005 11:43:10 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: , , , Date: Sat, 1 Jan 2005 11:43:09 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <1104578523.41d687db333c2@webmail.uoi.gr> Importance: Normal Subject: RE: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 19:43:19 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of > dkouroun@cc.uoi.gr > Sent: Saturday, January 01, 2005 3:22 AM > To: freebsd-bugs@freebsd.org; freebsd-performance@freebsd.org; > freebsd-questions@freebsd.org > Subject: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 > > > 2:) Why FreBSD 4.10 is using such an old compiler? GCC has a long and bloody history of compiler bugs. The Project doesen't switch compiler versions until a newer version has been out for several years at least. Ted From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 20:35:04 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D3A616A4CE for ; Sat, 1 Jan 2005 20:35:04 +0000 (GMT) Received: from luzifer.incubus.de (incubus.de [80.237.207.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9059B43D2D for ; Sat, 1 Jan 2005 20:35:03 +0000 (GMT) (envelope-from mkb+lists@incubus.de) Received: from [192.168.2.10] (pD9E6937A.dip.t-dialin.net [217.230.147.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id C7F432E07A for ; Sat, 1 Jan 2005 21:35:02 +0100 (CET) Message-ID: <41D70992.5070107@incubus.de> Date: Sat, 01 Jan 2005 21:35:30 +0100 From: Matthias Buelow User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bugs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ports/71676 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 20:35:04 -0000 I stumbled over this aswell. Make sure you have added the following two lines to your .gnupg/gpg.conf: load-extension idea load-extension rsa mkb. From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 20:59:07 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91CB016A4CE; Sat, 1 Jan 2005 20:59:07 +0000 (GMT) Received: from luzifer.incubus.de (incubus.de [80.237.207.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5158F43D31; Sat, 1 Jan 2005 20:59:07 +0000 (GMT) (envelope-from mkb+lists@incubus.de) Received: from [192.168.2.10] (pD9E6937A.dip.t-dialin.net [217.230.147.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id AF48C2E04D; Sat, 1 Jan 2005 21:59:06 +0100 (CET) Message-ID: <41D70F37.2020408@incubus.de> Date: Sat, 01 Jan 2005 21:59:35 +0100 From: Matthias Buelow User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joseph Koshy References: <200412310805.iBV85t7O023255@freefall.freebsd.org> In-Reply-To: <200412310805.iBV85t7O023255@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bugs@freebsd.org Subject: Re: ports/40866: sml-nj port CM autoloading compilation problems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 20:59:07 -0000 > revision 1.19 > date: 2004/12/31 07:51:02; author: jkoshy; state: Exp; lines: +7 -2 > Use "install.sh" during build and also during install as done in > lang/sml-nj-devel to resolve PR 40866. > > Submitted by: Johannes 5 Joemann Seems to have fixed the problem. Thanks. mkb. From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 21:29:42 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EF1516A4CE; Sat, 1 Jan 2005 21:29:42 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87DD43D39; Sat, 1 Jan 2005 21:29:41 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 01B8951432; Sat, 1 Jan 2005 13:29:38 -0800 (PST) Date: Sat, 1 Jan 2005 13:29:38 -0800 From: Kris Kennaway To: "Edward B. Dreger" Message-ID: <20050101212938.GB52172@xor.obsecurity.org> References: <1104578523.41d687db333c2@webmail.uoi.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="61jdw2sOBCFtR2d/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-bugs@freebsd.org cc: dkouroun@cc.uoi.gr cc: freebsd-questions@freebsd.org Subject: Re: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 21:29:42 -0000 --61jdw2sOBCFtR2d/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 01, 2005 at 12:01:45PM +0000, Edward B. Dreger wrote: > > 2:) Why FreBSD 4.10 is using such an old compiler? >=20 > Nobody has upgraded it. What's there is stable and works; nobody has > volunteered to replace it, test, and assure that all is correct. > Efforts are going toward RELENG_5 and CURRENT. ]Note that I do not > speak in any official capacity, and am open to corrections, but would be > surprised if anyone disagreed. Actually, all the responses I've seen so far have been incorrect, or haven't mentioned the real reason. FreeBSD 4.10 is using gcc 2.95 because later versions of g++ produce incompatible object code, so we cannot update without forcing every 4.x user to recompile every piece of C++ code on their system. That's not acceptable in a -stable branch. Compiling the base system with a version of GCC other than that which is shipped with the base system (i.e. GCC 2.95 for 4.x) is not supported, and if you manage to get it working you're on your own support-wise (i.e. do not submit bug reports against your custom system, because they're probably your own bugs and you'll waste developer time trying to follow them up). If you think you really need a version of FreeBSD compiled with GCC 3.x, consider updating to FreeBSD 5.3. Kris --61jdw2sOBCFtR2d/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB1xZCWry0BWjoQKURAiN8AKDK1C+YzA8uBgjd7jD/LGH7eoQDjgCeN1mX +1/TmbQvQwzFBxmOJRbSG2g= =GiiI -----END PGP SIGNATURE----- --61jdw2sOBCFtR2d/-- From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 21:50:33 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CC0116A4CE for ; Sat, 1 Jan 2005 21:50:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E41B43D41 for ; Sat, 1 Jan 2005 21:50:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01LoWBk020414 for ; Sat, 1 Jan 2005 21:50:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01LoWaW020413; Sat, 1 Jan 2005 21:50:32 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2005 21:50:32 GMT Resent-Message-Id: <200501012150.j01LoWaW020413@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Brueffer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA14516A4CE for ; Sat, 1 Jan 2005 21:48:27 +0000 (GMT) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7530243D1D for ; Sat, 1 Jan 2005 21:48:27 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0I9N0025TR8Q71@ms-dienst.rz.rwth-aachen.de> for FreeBSD-gnats-submit@freebsd.org; Sat, 01 Jan 2005 22:48:26 +0100 (MET) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Sat, 01 Jan 2005 22:48:25 +0100 (MET) Received: from haakonia.hitnet.rwth-aachen.de (mulzirak.hitnet.RWTH-Aachen.DE [137.226.181.149])j01LmPMP007980 for ; Sat, 01 Jan 2005 22:48:25 +0100 (MET) Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 5471028439; Sat, 01 Jan 2005 22:48:20 +0100 (CET) Message-Id: <20050101214820.5471028439@haakonia.hitnet.rwth-aachen.de> Date: Sat, 01 Jan 2005 22:48:20 +0100 (CET) From: Christian Brueffer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/75712: [PATCH] Remove duplicate headers in src/usr.sbin/apm/apm.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christian Brueffer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 21:50:33 -0000 >Number: 75712 >Category: bin >Synopsis: [PATCH] Remove duplicate headers in src/usr.sbin/apm/apm.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 21:50:30 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Christian Brueffer >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: >Description: Two header files are included twice in src/usr.sbin/apm/apm.c Taken from Dragonfly BSD, rev. 1.11, author: liamfoy >How-To-Repeat: >Fix: --- apm.c.diff begins here --- Index: apm.c =================================================================== RCS file: /data/ncvs/freebsd/src/usr.sbin/apm/apm.c,v retrieving revision 1.36 diff -u -r1.36 apm.c --- apm.c 30 Jun 2004 21:00:07 -0000 1.36 +++ apm.c 1 Jan 2005 21:42:24 -0000 @@ -27,8 +27,6 @@ #include #include #include -#include -#include #include #include --- apm.c.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 22:07:39 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 046BF16A4CE; Sat, 1 Jan 2005 22:07:39 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8AE543D2F; Sat, 1 Jan 2005 22:07:38 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (maxim@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01M7cuJ025242; Sat, 1 Jan 2005 22:07:38 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01M7c4A025238; Sat, 1 Jan 2005 22:07:38 GMT (envelope-from maxim) Date: Sat, 1 Jan 2005 22:07:38 GMT From: Maxim Konovalov Message-Id: <200501012207.j01M7c4A025238@freefall.freebsd.org> To: chris@unixpages.org, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/75712: [PATCH] Remove duplicate headers in src/usr.sbin/apm/apm.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:07:39 -0000 Synopsis: [PATCH] Remove duplicate headers in src/usr.sbin/apm/apm.c State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Sat Jan 1 22:07:23 GMT 2005 State-Changed-Why: Fixed, thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=75712 From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 22:57:42 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E11616A4CE; Sat, 1 Jan 2005 22:57:42 +0000 (GMT) Received: from a.mx.ict1.everquick.net (a.mx.ict1.everquick.net [67.67.61.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB91543D41; Sat, 1 Jan 2005 22:57:41 +0000 (GMT) (envelope-from eddy+public+spam@noc.everquick.net) Received: from a.mx.ict1.everquick.net (localhost [127.0.0.1]) j01Mvk6O001975; Sat, 1 Jan 2005 22:57:46 GMT X-Everquick-No-Abuse-1: Report any email abuse to or X-Everquick-No-Abuse-2: call +1 (785) 865-5885. Please be sure to reference X-Everquick-No-Abuse-3: the Message-Id and include GMT timestamps. Received: from localhost (eddy@localhost)j01MvkPP001972; Sat, 1 Jan 2005 22:57:46 GMT X-Authentication-Warning: a.mx.ict1.everquick.net: eddy owned process doing -bs Date: Sat, 1 Jan 2005 22:57:46 +0000 (GMT) From: "Edward B. Dreger" X-X-Sender: eddy@a.mx.ict1.everquick.net To: Kris Kennaway In-Reply-To: <20050101212938.GB52172@xor.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-bugs@freebsd.org cc: dkouroun@cc.uoi.gr cc: freebsd-questions@freebsd.org Subject: Re: Compiling FreeBSD 4.10 kernel with gcc native and gcc-3.4.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:57:42 -0000 KK> Date: Sat, 1 Jan 2005 13:29:38 -0800 KK> From: Kris Kennaway KK> Actually, all the responses I've seen so far have been incorrect, or KK> haven't mentioned the real reason. FreeBSD 4.10 is using gcc 2.95 KK> because later versions of g++ produce incompatible object code, so we Ah. Of this I was unaware; I use gcc, don't track it, have few packages using C++ code, and was none the wiser. KK> cannot update without forcing every 4.x user to recompile every piece KK> of C++ code on their system. That's not acceptable in a -stable KK> branch. Indeed. Eddy -- Everquick Internet - http://www.everquick.net/ A division of Brotsman & Dreger, Inc. - http://www.brotsman.com/ Bandwidth, consulting, e-commerce, hosting, and network building Phone: +1 785 865 5885 Lawrence and [inter]national Phone: +1 316 794 8922 Wichita ________________________________________________________________________ DO NOT send mail to the following addresses: davidc@brics.com -*- jfconmaapaq@intc.net -*- sam@everquick.net Sending mail to spambait addresses is a great way to get blocked.