misc/155429: Including malloc.h aborts compile.
>Number: 155429 >Category: misc >Synopsis: Including malloc.h aborts compile. >Confidential: no >Severity: non-critical >Priority: low >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 10 09:30:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Steve Whiteley >Release:7.3-release >Organization: Whiteley Research Inc. >Environment: FreeBSD kipling 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #3: Sun Oct 3 17:29:39 PDT 2010 stevew@kipling:/usr2/obj/usr2/src/sys/KIPLING i386 >Description: The is not really a bug, just (IMHO) a dumb decision that affects at least up to 7.3. Including in a c++ source file aborts the compile, with a message informing to include stdlib instead. Well, fine, but some source files written for other OSes may include malloc.h, and are nonportable to FreeBSD simple because of this, i.e., if the malloc.h include is commented out the file compiles fine. The FreeBSD malloc.h should be an empty stub, or at worst emit an info message that malloc.h is not needed in FreeBSD. But to abort the compile? So I have the choice of hunting through a big source like OpenAccess to fix all the malloc.h includes, or hacking the include file itself (my approach, but it always reverts when I update). >How-To-Repeat: test.cc - #include int main() { return 0; } >Fix: /* $FreeBSD: src/include/malloc.h,v 1.5.38.1 2010/02/10 00:26:20 kensmith Exp $ */ #if __STDC__ /* XXX commented to avoid ridiculousness #error " has been replaced by " */ #else #include #endif >Release-Note: >Audit-Trail: >Unformatted: ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: gnu/153298: commit references a PR
The following reply was made to PR gnu/153298; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: gnu/153298: commit references a PR Date: Thu, 10 Mar 2011 13:59:32 + (UTC) Author: mm Date: Thu Mar 10 13:59:17 2011 New Revision: 219451 URL: http://svn.freebsd.org/changeset/base/219451 Log: Vendor upgrade of gcc 4.2 to last GPLv2 revision. PR: gnu/153298 Obtained from: gcc (gcc-4_2-branch, rev. 127959) Modified: vendor/gcc/dist/gcc/BASE-VER vendor/gcc/dist/gcc/ChangeLog vendor/gcc/dist/gcc/DATESTAMP vendor/gcc/dist/gcc/DEV-PHASE vendor/gcc/dist/gcc/config/mips/predicates.md vendor/gcc/dist/gcc/config/rs6000/rs6000.c vendor/gcc/dist/gcc/config/s390/s390.md vendor/gcc/dist/gcc/cp/ChangeLog vendor/gcc/dist/gcc/cp/call.c vendor/gcc/dist/gcc/cp/cp-tree.h vendor/gcc/dist/gcc/cp/cxx-pretty-print.c vendor/gcc/dist/gcc/cp/decl.c vendor/gcc/dist/gcc/cp/decl2.c vendor/gcc/dist/gcc/cp/error.c vendor/gcc/dist/gcc/cp/lex.c vendor/gcc/dist/gcc/cp/name-lookup.c vendor/gcc/dist/gcc/cp/pt.c vendor/gcc/dist/gcc/cp/semantics.c vendor/gcc/dist/gcc/cp/typeck.c vendor/gcc/dist/gcc/doc/contrib.texi vendor/gcc/dist/gcc/dwarf2out.c vendor/gcc/dist/gcc/expr.c vendor/gcc/dist/gcc/fold-const.c vendor/gcc/dist/gcc/gimplify.c vendor/gcc/dist/gcc/reload1.c vendor/gcc/dist/gcc/simplify-rtx.c vendor/gcc/dist/gcc/target-def.h vendor/gcc/dist/gcc/target.h vendor/gcc/dist/gcc/targhooks.c vendor/gcc/dist/gcc/targhooks.h vendor/gcc/dist/gcc/tree-if-conv.c vendor/gcc/dist/gcc/tree-ssa-structalias.c vendor/gcc/dist/gcc/tree-vect-analyze.c vendor/gcc/dist/gcc/tree-vect-patterns.c vendor/gcc/dist/gcc/tree.c vendor/gcc/dist/gcc/tree.h vendor/gcc/dist/libstdc++/ChangeLog vendor/gcc/dist/libstdc++/include/std/std_valarray.h vendor/gcc/dist/libstdc++/include/tr1/random Modified: vendor/gcc/dist/gcc/BASE-VER == --- vendor/gcc/dist/gcc/BASE-VER Thu Mar 10 11:23:43 2011 (r219450) +++ vendor/gcc/dist/gcc/BASE-VER Thu Mar 10 13:59:17 2011 (r219451) @@ -1 +1 @@ -4.2.1 +4.2.2 Modified: vendor/gcc/dist/gcc/ChangeLog == --- vendor/gcc/dist/gcc/ChangeLog Thu Mar 10 11:23:43 2011 (r219450) +++ vendor/gcc/dist/gcc/ChangeLog Thu Mar 10 13:59:17 2011 (r219451) @@ -1,3 +1,121 @@ +2007-08-31 Jakub Jelinek + + PR rtl-optimization/33148 + * simplify-rtx.c (simplify_unary_operation_1): Only optimize + (neg (lt X 0)) if X has scalar int mode. + + PR debug/32914 + * dwarf2out.c (rtl_for_decl_init): If vector decl has CONSTRUCTOR + initializer, use build_vector_from_ctor if possible to create + VECTOR_CST out of it. If vector initializer is not VECTOR_CST + even after this, return NULL. + +2007-08-27 Jason Merrill + + PR c++/31337 + * gimplify.c (gimplify_modify_expr): Discard the assignment of + zero-sized types after calling gimplify_modify_expr_rhs. + +2007-08-24 Jakub Jelinek + + PR debug/32610 + * dwarf2out.c (gen_decl_die): Don't call + gen_tagged_type_instantiation_die if decl doesn't have tagged type. + +2007-08-24 Richard Guenther + + * expr.c (get_inner_reference): Remove unused variable. + +2007-08-24 Richard Guenther + + * expr.c (get_inner_reference): Do computation of bitoffset + from offset in a way we can detect overflow reliably. + +2007-08-22 Richard Guenther + + PR middle-end/32563 + * tree.c (host_integerp): Treat sizetype as signed as it is + sign-extended. + +2007-08-20 Adam Nemet + + * config/mips/predicates.md (const_call_insn_operand): Invoke + SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs. + +2007-08-17 Chen liqin + +* config/score/score.md : Update pattern tablejump. +* config/score/score.c : Update score_initialize_trampoline +function. +* config/score/score.h (TRAMPOLINE_TEMPLATE): Added macro. +(TRAMPOLINE_INSNS, TRAMPOLINE_SIZE) Update macro. +* doc/contrib.texi: Add my entry. + +2007-08-02 Andreas Krebbel + + * config/s390/s390.md ("*xordi3_cconly"): Change xr to xg. + +2007-08-01 Andreas Krebbel + + * config/s390/s390.md (TF in GPR splitter): Change operand_subword + parameter to TFmode. + +2007-07-30 Mark Mitchell + + * BASE-VER: Bump. + * DEV-PHASE: Mark as prerelease. + +2007-07-25 Steve Ellcey + + PR target/32218 + * tree-vect-patterns.c (vect_pattern_recog_1): Check for valid type. + +2007-07-25 Dorit Nuzman + Devang Patel + + PR tree-optimization/25413 + * targhooks.c (
bin/155439: Spurious error message kvm_nlist: No such file or directory
>Number: 155439 >Category: bin >Synopsis: Spurious error message kvm_nlist: No such file or directory >Confidential: no >Severity: non-critical >Priority: low >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 10 15:40:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Andreas Longwitz >Release:8.1-RELEASE-p1 >Organization: Data Service Stockelsdorf >Environment: FreeBSD pclong.incore 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #3: Mon Feb 14 14:47:50 CET 2011 root@pclong.incore:/usr/src/sys/i386/compile/PCLONG i386 >Description: The error message kvm_nlist: No such file or directory from libkvm is sometimes spurious. >How-To-Repeat: === root@pclong (ttyv2) -> dconschat dconschat: kvm_nlist: No such file or directory [dcons connected] >Fix: --- src/lib/libkvm/kvm.c.orig 2010-06-14 04:09:06.0 +0200 +++ src/lib/libkvm/kvm.c2011-01-31 18:16:03.0 +0100 @@ -487,7 +487,7 @@ * also fill internal error buffer. */ error = ((p - nl) - nvalid); - if (error) + if (error && initialize) _kvm_syserr(kd, kd->program, "kvm_nlist"); return (error); } >Release-Note: >Audit-Trail: >Unformatted: ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
kern/155442: bge driver is seen but does not respond to networking requests
>Number: 155442 >Category: kern >Synopsis: bge driver is seen but does not respond to networking requests >Confidential: no >Severity: serious >Priority: medium >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 10 16:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Zack Dannar >Release:PC-BSD 8.1(FBSD 8.1) and PC-BSD 8.2(FBSD8.2) >Organization: None >Environment: FreeBSD pcbsd-1472 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Sat Jul 17 14:19:59 PDT 2010 r...@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build81/fbsd-source/8.1/sys/PCBSD amd64 >Description: The bge driver is acknowledged by the kernel but will not respond to network. I have tried PCBSD-FreeBSD 8.1 and , as instructed by yongari, tried a live CD of PCBSD-FreeBSD 8.2. The driver was still unresponsive. Here are the details. Addtional information : http://forums.freebsd.org/showthread.php?t=22300 [ pciconf -lv ] bge0@pci0:2:0:0:class=0x02 card=0x01ec1028 chip=0x167a14e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Broadcom NetXtreme Gigabit Ethernet Controller (BCM5754)' class = network subclass = ethernet [ dmesg -a ] bge0: mem 0xfd8f-0xfd8f irq 16 at device 0.0 on pci2 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:18:8b:8b:97:2d bge0: [FILTER] pcib3: at device 4.0 on pci0 pci3: on pcib3 vgapci0: port 0xbc00-0xbcff mem 0xd .. LATER IN DMESG Setting hostname: pcbsd-1472 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/155442: bge driver is seen but does not respond to networking requests
The following reply was made to PR kern/155442; it has been noted by GNATS. From: Zack Dannar To: bug-follo...@freebsd.org, zackdan...@yahoo.com Cc: Subject: Re: kern/155442: bge driver is seen but does not respond to networking requests Date: Thu, 10 Mar 2011 12:05:46 -0700 --000e0cd2e73e6d2388049e2588ce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable SORRY, my whole description was cutoff during the submit of the PR. Here i= s the total message. Once again, thanks for your help. The bge driver is acknowledged by the kernel but will not respond to network. I have tried PCBSD-FreeBSD 8.1 and , as instructed by yongari, tried a live CD of PCBSD-FreeBSD 8.2. The driver was still unresponsive. Here are the details. Addtional information : http://forums.freebsd.org/showthread.php?t=3D22300 [ pciconf -lv ] bge0@pci0:2:0:0:class=3D0x02 card=3D0x01ec1028 chip=3D0x167a14e= 4 rev=3D0x02 hdr=3D0x00 vendor =3D 'Broadcom Corporation' device =3D 'Broadcom NetXtreme Gigabit Ethernet Controller (BCM5754= )' class =3D network subclass =3D ethernet [ dmesg -a ] bge0: mem 0xfd8f-0xfd8f irq 16 at device 0.0 on pci2 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:18:8b:8b:97:2d bge0: [FILTER] pcib3: at device 4.0 on pci0 pci3: on pcib3 vgapci0: port 0xbc00-0xbcff mem 0xd ... LATER IN DMESG Setting hostname: pcbsd-1472 . Starting Network: lo0 bge0 ue0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 nd6 options=3D3 bge0: flags=3D8843 metric 0 mtu 150= 0 options=3D8009b ether 00:18:8b:8b:97:2d inet6 fe80::218:8bff:fe8b:972d%bge0 prefixlen 64 tentative scopeid 0x1 nd6 options=3D3 media: Ethernet autoselect (none) status: no carrier ue0: flags=3D8843 metric 0 mtu 1500 options=3D8 ether 00:25:9c:2a:44:0f inet6 fe80::225:9cff:fe2a:440f=E0 prefixlen 64 tentative scopeid 0x= 6 nd6 options=3D3 media: Ethernet autoselect (100baseTX ) status: active [ vmstat -ia ] irq256: bge0 0 0 [ After it is up : ifconfig ] bge0: flags=3D8843 metric 0 mtu 150= 0 options=3D8009b ether 00:18:8b:8b:97:2d inet6 fe80::218:8bff:fe8b:972d%bge0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 nd6 options=3D3 media: Ethernet autoselect (1000baseT ) status: active [ Response from a dhclient ] [root@pcbsd-1472] ~# dhclient bge0 DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 7 send_packet: No buffer space available DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 19 send_packet: No buffer space available DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 15 send_packet: No buffer space available Please Let me know if you need any more information or if there is anything else that you would like to try. I will post this PR on freebsd forums. Thanks for you help. --000e0cd2e73e6d2388049e2588ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable SORRY, my whole description was cutoff during the submit of the PR.=A0 Here= is the total message.=A0 Once again, thanks for your help.= The bge driver is acknowledged by the kernel but will not respond to ne= twork.=A0 I have tried PCBSD-FreeBSD 8.1 and , as instructed by yongari, tr= ied a live CD of PCBSD-FreeBSD 8.2.=A0 The driver was still unresponsive.= =A0 Here are the details. Addtional information : http://forums.freebsd.org/showth= read.php?t=3D22300">http://forums.freebsd.org/showthread.php?t=3D22300<= br>[ pciconf -lv ]bge0@pci0:2:0:0:=A0=A0=A0=A0=A0=A0=A0 class=3D0x0= 2 card=3D0x01ec1028 chip=3D0x167a14e4 rev=3D0x02 hdr=3D0x00 =A0=A0=A0 vendor=A0=A0=A0=A0 =3D 'Broadcom Corporation'=A0=A0= =A0 device=A0=A0=A0=A0 =3D 'Broadcom NetXtreme Gigabit Ethernet Control= ler (BCM5754)'=A0=A0=A0 class=A0=A0=A0=A0=A0 =3D network=A0=A0= =A0 subclass=A0=A0 =3D ethernet[ dmesg -a ]bge0:mem 0xfd8f= -0xfd8f irq 16 at device 0.0 on pci2 miibus0: on bge0brgphy0: PHY 1 on miibus0brgphy0:=A0 10baseT, 10baseT-FDX, 100baseTX, 10= 0baseTX-FDX, 1000baseT, 1000baseT-FDX, autobge0: Ethernet address: 00:1= 8:8b:8b:97:2d bge0: [FILTER]pcib3: at device 4.0 on pci0<= br>pci3: on pcib3vgapci0: port 0xbc00-0xbcff mem 0xd... LATER IN DMESG Setting hostname: pcbsd-1472.Starting
Re: kern/97000: [kernel] [patch] bogus "All threads purged from ugen0.1" message
The problem went away some time ago, probably with 7.x. --jh ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: kern/155442: [bge] bge driver is seen but does not respond to networking requests
Old Synopsis: bge driver is seen but does not respond to networking requests New Synopsis: [bge] bge driver is seen but does not respond to networking requests Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Thu Mar 10 22:19:31 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=155442 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
Re: bin/155432: Re: bin/155129: fetch(1) doesn't interop with tukaani.org
Old Synopsis: =?koi8-r?Q?Re=3A_bin/155129=3A_fetch(1)_doesn't_interop_with_tukaani.org?= New Synopsis: Re: bin/155129: fetch(1) doesn't interop with tukaani.org State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Fri Mar 11 02:55:30 UTC 2011 State-Changed-Why: Misfiled followup to bin/155129; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Fri Mar 11 02:55:30 UTC 2011 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=155432 ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"