From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 18 01:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTP id ECA07E68 for ; Sun, 18 Aug 2013 01:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC66B2661 for ; Sun, 18 Aug 2013 01:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7I1U0g7090051 for ; Sun, 18 Aug 2013 01:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7I1U0T7090025; Sun, 18 Aug 2013 01:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 18 Aug 2013 01:30:00 GMT Resent-Message-Id: <201308180130.r7I1U0T7090025@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Takeshi Taguchi 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 ESMTP id 7545CE53 for ; Sun, 18 Aug 2013 01:28:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60F5C2659 for ; Sun, 18 Aug 2013 01:28:09 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7I1S8Um017529 for ; Sun, 18 Aug 2013 01:28:08 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7I1S8NO017527; Sun, 18 Aug 2013 01:28:08 GMT (envelope-from nobody) Message-Id: <201308180128.r7I1S8NO017527@oldred.freebsd.org> Date: Sun, 18 Aug 2013 01:28:08 GMT From: Takeshi Taguchi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181367: [PATCH] fix "__asm volatime" issue on devel/gobject-introspection X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 01:30:01 -0000 >Number: 181367 >Category: ports >Synopsis: [PATCH] fix "__asm volatime" issue on devel/gobject-introspection >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 18 01:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Takeshi Taguchi >Release: FreeBSD-10-CURRENT >Organization: >Environment: FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254250M: Tue Aug 13 03:43:16 JST 2013 tt@vbox-01:/usr/home/tt/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/RPI-B arm >Description: devel/gobject-intrispection can not deal "__asm volatile". for example graphics/gdk-pixmap2 build-depend on this ports produces folowing compile log: .. g-ir-scanner: warning: Option --strip-prefix has been deprecated; see --identifier-prefix and --symbol-prefix. /usr/include/machine/endian.h:90: syntax error, unexpected identifier, expecting ',' or ';' in ' __asm volatile("eor %1, %0, %0, ror #16\n"' at 'o' /usr/include/machine/endian.h:104: syntax error, unexpected identifier, expecting ',' or ';' in ' __asm volatile(' at 'o' GICOMP GdkPixbuf-2.0.gir .. >How-To-Repeat: # cd /usr/ports/graphics/gdk-pixbuf2 # make >Fix: NetBSD people fix this issue. see: http://gnats.netbsd.org/46017 add attached file to gobject-introspection/files/ Patch attached with submission follows: --- giscanner/scannerlexer.l.orig 2013-08-18 07:37:16.000000000 +0900 +++ giscanner/scannerlexer.l 2013-08-18 07:40:32.000000000 +0900 @@ -134,7 +134,7 @@ "," { return ','; } "->" { return ARROW; } -"__asm" { if (!parse_ignored_macro()) REJECT; } +"__asm"[\t\f\v\r ]+"volatile" { if (!parse_ignored_macro()) REJECT; } "__asm__" { if (!parse_ignored_macro()) REJECT; } "__attribute__" { if (!parse_ignored_macro()) REJECT; } "__attribute" { if (!parse_ignored_macro()) REJECT; } >Release-Note: >Audit-Trail: >Unformatted: