logo       

Re: avr32 target build error on linux26: msg#00015

t2.devel

Subject: Re: avr32 target build error on linux26

Hi,

On Thursday 22 November 2007 13:24:25 Leen Toelen wrote:
> Hi René,
>
> thanks a lot for the fast response. I updated from cvs, and saw that
> the linux config was changed indeed and the build passes fine. But now
> build stope at libpng with this log:
..

> avr32-t2-linux-uclibc-gcc -shared .libs/libpng12_la-png.o
> .libs/libpng12_la-pngset.o .libs/libpng12_la-pngget.o
> .libs/libpng12_la-pngrutil.o .libs/libpng12_la-pngtrans.o
> .libs/libpng12_la-pngwutil.o .libs/libpng12_la-pngread.o
> .libs/libpng12_la-pngrio.o .libs/libpng12_la-pngwio.o
> .libs/libpng12_la-pngwrite.o .libs/libpng12_la-pngrtran.o
> .libs/libpng12_la-pngwtran.o .libs/libpng12_la-pngmem.o
> .libs/libpng12_la-pngerror.o .libs/libpng12_la-pngpread.o -lz -lm
> -Wl,--version-script=libpng.vers -Wl,-soname -Wl,libpng12.so.0 -o
> .libs/libpng12.so.0.22.0
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped

Yeah - I got this too on my 7.0 test, too.

This segfault is due to bugs in the AVR32 Link. Actually these days the AVR32
Toolchain is qutie good. In the early days ld even infinite loops on some
input - that was way more annoying to find out that after 4 hours the
buidl did not proceed any further due to ld sitting on a single object it would
not link ...

On trunk the current status for AVR32 is the following:

1372 builds total, 907 completed fine, 465 with errors, 0 to go.

On our 8-core reference builder. This includes most of X.Org, Gnome and
Xfce beeing built. Some of the 465 are just because some early dependency
did not build.

You likely can ignore all of them until people at Atmel or we fixed the
toolchain (compiler, linker & assembler).

If you can ignore the libpng error for now, just open the Config,
enable expert options, enable custom package selection and add the rule

O libpng

The 'O' (capital letter o) stands for 'O'ptional, the opposite of 'X' for
selected.

And just continue the build. While you are add it you might like
to deselect popt and procps, likewise as well - as those are on my
TODO to let ld segfault on AVR32, as well.

Yours,

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
Geschäftsführer: Susanne Klaus, René Rebe
Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
USt-IdNr.: DE251602478
http://exactcode.de | http://t2-project.org | http://rene.rebe.name

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise