From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 26 23:57:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF017123 for ; Thu, 26 Jun 2014 23:57:02 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D604926BF for ; Thu, 26 Jun 2014 23:57:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5QNv2K7076131 for ; Fri, 27 Jun 2014 00:57:02 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191428] New: net/libbgpdump misbehaves when compiled with clang Date: Thu, 26 Jun 2014 23:57:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mjl@luckie.org.nz X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 23:57:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191428 Bug ID: 191428 Summary: net/libbgpdump misbehaves when compiled with clang Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: mjl@luckie.org.nz Created attachment 144179 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144179&action=edit convert libbgpdump to gcc, bump portrevision on my system: FreeBSD sorcerer.caida.org 10.0-RELEASE-p4 FreeBSD 10.0-RELEASE-p4 #0: Tue Jun 3 12:52:18 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 a bgpdump compiled with base system compiler (clang) behaves differently (incorrectly) compared with bgpdump compiled with gcc (4.7 in my case) For example, if you download http://data.ris.ripe.net/rrc01/2014.06/bview.20140601.0000.gz and then run bgpdump -m bview.20140601.0000.gz | head -n 1, the first line is: TABLE_DUMP2|1401580800|B|195.66.226.20|56730|1.0.0.0/24|56730 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169 15169...|IGP|195.66.224.125|0|0|56730:8714|NAG|| If you recompile libbgpdump with the attached patch, the above command produces: TABLE_DUMP2|1401580800|B|195.66.226.20|56730|1.0.0.0/24|56730 15169|IGP|195.66.224.125|0|0|56730:8714|NAG|| -- You are receiving this mail because: You are the assignee for the bug.