[LV] Status of the toolchain build scripts?

Jan-Benedict Glaw jbglaw at lug-owl.de
Tue Jun 19 15:53:22 CEST 2007


On Tue, 2007-06-19 15:21:47 +0200, Mikkel Lauritsen <mikkel-vax at tala.dk> wrote:
> Jan-Benedict Glaw <jbglaw at lug-owl.de> wrote:
> >> I have bisected the input file, and as long as there are no more than
> >> 1102 lines in it the assembler works fine. Increasing the number of lines
> >> causes a segmentation fault, followed by the memory corruption if I
> >> increase the size even further.
> >
> > Is it really depend it on number of lines?  Would be more plausible if
> > it was a simple filesize problem.
> 
> Oh, agreed - I don't think the number of lines has any significance; the
> 1103'th line just happens to bring the size above a critical threshold. The
> file that makes gas barf has a size of about 17400 bytes, BTW.
> 
> >> So - my initial conclusion is that the assembler has a memory management
> >> problem, and I'm going to try to see if I can dig deeper into it.
> >
> > Would you cut'n'paste gas's backtrace? Maybe it's possible to guess
> > the cause for the corruption by seeing where it crashes afterwards.
> 
> Sure - I hope that the mail client doesn't screw up the longish lines:
> 
> (gdb) bt full
> #0  0x001760bb in malloc_consolidate () from /lib/libc.so.6
> No symbol table info available.
> #1  0x0017820d in _int_malloc () from /lib/libc.so.6
> No symbol table info available.
> #2  0x0017a00e in malloc () from /lib/libc.so.6
> No symbol table info available.
> #3  0x080b9d48 in xmalloc (size=65538)
>     at
> /home/mikkel/linux-vax/build/build-20070617-191810-UTC-vax-linux-uclibc/src/binutils/libiberty/xmalloc.c:147
>         newmem = <value optimized out>
[...]

I'm curious about it... Maybe give it a run with libefence
LD_PRELOAD'ed?

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
 Signature of:                      http://perl.plover.com/Questions.html
 the second  :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/vax-linux/attachments/20070619/46354717/attachment.pgp>
-------------- next part --------------
_______________________________________________
Linux-Vax mailing list
Linux-Vax at pergamentum.com
http://www.pergamentum.com/mailman/listinfo/linux-vax


More information about the Vax-linux mailing list