From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 22:25:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 524B4AAC for ; Sun, 10 Mar 2013 22:25:35 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [IPv6:2607:f8b0:400c:c02::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 09CD8357 for ; Sun, 10 Mar 2013 22:25:34 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so1336778vby.19 for ; Sun, 10 Mar 2013 15:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=5Hz2tMHE1ZUptjpp+Arxgif83fHArZTSTiyIcMv1vjE=; b=whhI986Dm0SaznunmrFbMU0/yfbzmy3hmjF7gPgSyH9R5aCgZS23On71gZcOvr/UkG Gub9VM84i/piQxTbfPjVrqg6tF3DJwSiRRqwa3t9LkpxiS715RPvbUzXtUGgs3aGbJD6 b8iWQRjIGVHdoAu7owhEG4hDjTKk66YhaA8hGFPRwfpUOOKuOehtMHf2DKyQpzhhZPcj meDwZ99+sTiHMuZv9r/fsP9eAILs21NDTjybzNsYTAdMRPuM8WKeTedUXCHXlNKAzFn5 ADw4JXyjysCCnvLO7ujnb7Tr55v2SPG4+nAVAuTe6lHPBpxHU6Pocw8bc8aVeDUoIo9X gNVg== X-Received: by 10.58.205.179 with SMTP id lh19mr4037993vec.7.1362954334507; Sun, 10 Mar 2013 15:25:34 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.11.229 with HTTP; Sun, 10 Mar 2013 15:25:14 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Sun, 10 Mar 2013 23:25:14 +0100 X-Google-Sender-Auth: eASQy__2TBd1R1KIi8Y8gTYf6OY Message-ID: Subject: sys/arm/include/endian.h and signal.h bug with clang ? To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 22:25:35 -0000 Hi, during the build of devel/gobject-introspection with clang on my Raspberry Pi, I've seen this error (but they didn't prevent gobject-introspection to compile): /usr/include/machine/signal.h:45: syntax error, unexpected '}' in '};' at '}' /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' g-ir-scanner: GLib: warning: 674 warnings suppressed (use --warn-all to see them) GISCAN GObject-2.0.gir /usr/include/machine/signal.h:45: syntax error, unexpected '}' in '};' at '}' /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' /usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2/tmp-introspectj39xYS/GObject-2.0.c:606:3: warning : 'g_value_array_get_type' is deprecated [-Wdeprecated-declarations] etc... Is there a problem in endian.h and signal.h ? Regards, Olivier