Re: [Gcl-devel] Re: please cleanup your scratch space on vore
Greetings! Well, I found the issue. Pleased to announce that we now
have gcl and gcl/maxima on sparc with no errors. Debian packages
hopefully to follow soon.
Take care,
Ben Collins <bcollins@debian.org> writes:
> On Wed, Jun 19, 2002 at 04:05:15PM -0400, Camm Maguire wrote:
> > Greetings! OK, in looking at some old posts on debian-sparc, I've
> > found the very helpful tip:
> >
> > >Compiling the failing application with the gcc-flag "-Wcast-align" may
> > >detect some of these problems. (The compiler itself should not misalign
> > >things, so casting is usually a major suspect.)
> >
> > >If the application casts byte arrays into struct types (for example to
> > >decode packet contents for some network protocol), it might also help to
> > >declare the struct types as packed, using "__attribute__((__packed__))".
> > >Apart from avoiding padding within the struct, this will alert the
> > >compiler that the struct members may be misaligned. Code accessing the
> > >struct members will then be compiled to handle that situation.
> >
> > -Wcast-aligned gives many warnings for gcl. Is there a way I can
> > globally align everything on 8 byte boundaries without having to
> > modify each offending variable declaration with __attribute__
> > ((aligned))?
> >
> > Take care,
>
> Use the "__attribute__((__packed__))" for structures that relate to the
> part of the code you are having problems with. See what happens.
>
> --
> Debian - http://www.debian.org/
> Linux 1394 - http://linux1394.sourceforge.net/
> Subversion - http://subversion.tigris.org/
> Deqo - http://www.deqo.com/
>
> _______________________________________________
> Gcl-devel mailing list
> Gcl-devel@gnu.org
> http://mail.gnu.org/mailman/listinfo/gcl-devel
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
--
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: