Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 07:55:56 +1300
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Olivier =?ISO-8859-1?Q?Cochard-Labb=E9?= <olivier@cochard.me>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: sys/arm/include/endian.h and signal.h bug with clang ?
Message-ID:  <20130312075556.5494747f@bender>
In-Reply-To: <CA%2Bq%2BTcq2qai=5JNR-4FJ=3-xtG64yYFthF3xid5f1mpLhvjQGw@mail.gmail.com>
References:  <CA%2Bq%2BTcq2qai=5JNR-4FJ=3-xtG64yYFthF3xid5f1mpLhvjQGw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Mar 2013 23:25:14 +0100
Olivier Cochard-Labb=C3=A9 <olivier@cochard.me> wrote:

> Hi,
>=20
> 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):
Neither of these appear to be clang issues.

> /usr/include/machine/signal.h:45: syntax error, unexpected '}' in
> '};' at '}'
This is because struct sigcontext is empty. Olivier Houchard fixed this
in r248153.

> /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)

This looks like the gobject introspection parser doesn't support asm
volatile. You might have to talk to the port maintainer to see if there
is any fix for this.

Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130312075556.5494747f>