Compiling on ARM/cubietruck warnings

Stefan Bidi <[email protected]> Thu, 18 Sep 2014 20:36:10 -0500
Newsgroups gmane.comp.lib.gnustep.webmasters
Message-ID <CAGxib2C0i4FgN68CVLfcjrVb_M9-wtniq7Pj75ohq_t6=GVHWg@mail.gmail.com>
--===============6974191978598642462==
Content-Type: multipart/alternative; boundary=089e01160bf82d37210503612047

--089e01160bf82d37210503612047
Content-Type: text/plain; charset=UTF-8

It's been a while since I last tried to install GNUstep anywhere.  At the
beginning of the year, I got a cubietruck (www.cubieboard.org) and
installed Lubuntu from the provided images.  It is a very standard Lubuntu
install, the only difference is a custom Linux kernel from sunxi (
www.linux-sunxi.org).

In any case, when I compiled base earlier today, I got flooded with
warnings of the type:
 Compiling file NSMessagePortNameServer.m ...
NSMessagePort.m:1093:1: warning: cast increases required alignment of
target type [-Wcast-align]
 static NSRecursiveLock *messagePortLock = nil;
 ^
NSMessagePort.m:1093:1: warning: cast increases required alignment of
target type [-Wcast-align]
NSMessagePort.m:290:1: warning: cast increases required alignment of target
type [-Wcast-align]
 static Class mutableArrayClass;
 ^
NSMessagePort.m:290:1: warning: cast increases required alignment of target
type [-Wcast-align]
NSMessagePortNameServer.m:106:1: warning: cast increases required alignment
of target type [-Wcast-align]
 + (void) atExit
 ^
NSMessagePortNameServer.m:106:1: warning: cast increases required alignment
of target type [-Wcast-align]
 Compiling file GSFFIInvocation.m ...
GSFFIInvocation.m:146:1: warning: cast increases required alignment of
target type [-Wcast-align]
 static IMP gs_objc_msg_forward2 (id receiver, SEL sel)
 ^
GSFFIInvocation.m:146:1: warning: cast increases required alignment of
target type [-Wcast-align]

I'm sure these aren't harmful, but there are so many of them that it drowns
out any other information that might be important.  Has anyone who built on
an ARM board gotten the same warnings?  I'm curious as to why it is
happening at all.

One piece of additional information: I ran the test suite and got very few
failures.  I'm going ot be looking through some of them in the coming days
and will report back.

Stef

--089e01160bf82d37210503612047
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>It&#39;s been a while since I last tri=
ed to install GNUstep anywhere.=C2=A0 At the beginning of the year, I got a=
 cubietruck (<a href=3D"http://www.cubieboard.org">www.cubieboard.org</a>) =
and installed Lubuntu from the provided images.=C2=A0 It is a very standard=
 Lubuntu install, the only difference is a custom Linux kernel from sunxi (=
<a href=3D"http://www.linux-sunxi.org">www.linux-sunxi.org</a>).<br><br></d=
iv>In any case, when I compiled base earlier today, I got flooded with warn=
ings of the type:<br>=C2=A0Compiling file NSMessagePortNameServer.m ...<br>=
NSMessagePort.m:1093:1: warning: cast increases required alignment of targe=
t type [-Wcast-align]<br>=C2=A0static NSRecursiveLock *messagePortLock =3D =
nil;<br>=C2=A0^<br>NSMessagePort.m:1093:1: warning: cast increases required=
 alignment of target type [-Wcast-align]<br>NSMessagePort.m:290:1: warning:=
 cast increases required alignment of target type [-Wcast-align]<br>=C2=A0s=
tatic Class mutableArrayClass;<br>=C2=A0^<br>NSMessagePort.m:290:1: warning=
: cast increases required alignment of target type [-Wcast-align]<br>NSMess=
agePortNameServer.m:106:1: warning: cast increases required alignment of ta=
rget type [-Wcast-align]<br>=C2=A0+ (void) atExit<br>=C2=A0^<br>NSMessagePo=
rtNameServer.m:106:1: warning: cast increases required alignment of target =
type [-Wcast-align]<br>=C2=A0Compiling file GSFFIInvocation.m ...<br>GSFFII=
nvocation.m:146:1: warning: cast increases required alignment of target typ=
e [-Wcast-align]<br>=C2=A0static IMP gs_objc_msg_forward2 (id receiver, SEL=
 sel)<br>=C2=A0^<br>GSFFIInvocation.m:146:1: warning: cast increases requir=
ed alignment of target type [-Wcast-align]<br><br></div>I&#39;m sure these =
aren&#39;t harmful, but there are so many of them that it drowns out any ot=
her information that might be important.=C2=A0 Has anyone who built on an A=
RM board gotten the same warnings?=C2=A0 I&#39;m curious as to why it is ha=
ppening at all.<br><br></div>One piece of additional information: I ran the=
 test suite and got very few failures.=C2=A0 I&#39;m going ot be looking th=
rough some of them in the coming days and will report back.<br><br></div>St=
ef<br></div>

--089e01160bf82d37210503612047--


--===============6974191978598642462==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gnustep-webmasters mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-webmasters

--===============6974191978598642462==--