lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GUB build problems


From: Carl Sorensen
Subject: GUB build problems
Date: Sat, 25 Feb 2012 22:01:21 +0000
User-agent: Microsoft-MacOutlook/14.10.0.110310

OK, so I decided to try to start from scratch in building GUB.

I created a new virtual machine.

Loaded it with lily-dev 1.1, from
http://www.et.byu.edu/~sorensen/ubuntu-lilydev-remix-1.1.iso


Installed guest additions

Installed libmpfr-dev, with sudo apt-get libmpfr-dev

Got GUB with 

git clone http://github.com/gperciva/gub


Tried to build gub with

cd gub

make bootstrap


Build failed with

http://www.et.byu.edu/~sorensen/ubuntu-lilydev-remix-1.1.iso


building package: darwin-ppc::cross/gcc
 *** Stage: download (cross/gcc, darwin-ppc)
 *** Stage: compile (cross/gcc, darwin-ppc)
*** buffer overflow detected ***:
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x40111390]
/lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0x401102ca]
/lib/tls/i686/cmov/libc.so.6(+0xe0a08)[0x4010fa08]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0x9e)[0x40098afe]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xd8)[0x4008c5f8]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0xfe7)[0x4006cbf7]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xad)[0x4010fabd]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x4010f9fd]
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib[0x804b3cc]
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib[0x804c4cd]
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib[0x804cb8f]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x40045bd6]
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib[0x8048e31]
======= Memory map: ========
08048000-0806c000 r-xp 00000000 08:01 941414
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib
0806c000-0806d000 r--p 00023000 08:01 941414
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib
0806d000-0806e000 rw-p 00024000 08:01 941414
/home/carl/gub/target/darwin-ppc/root/usr/cross/bin/powerpc-apple-darwin7-r
anlib
0849f000-084c0000 rw-p 00000000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 08:01 918447     /lib/ld-2.11.1.so
4001b000-4001c000 r--p 0001a000 08:01 918447     /lib/ld-2.11.1.so
4001c000-4001d000 rw-p 0001b000 08:01 918447     /lib/ld-2.11.1.so
4001d000-4001e000 r-xp 00000000 00:00 0          [vdso]
4001e000-40020000 rw-p 00000000 00:00 0
4002f000-40182000 r-xp 00000000 08:01 2922
/lib/tls/i686/cmov/libc-2.11.1.so
40182000-40183000 ---p 00153000 08:01 2922
/lib/tls/i686/cmov/libc-2.11.1.so
40183000-40185000 r--p 00153000 08:01 2922
/lib/tls/i686/cmov/libc-2.11.1.so
40185000-40186000 rw-p 00155000 08:01 2922
/lib/tls/i686/cmov/libc-2.11.1.so
40186000-4018a000 rw-p 00000000 00:00 0
4018a000-401a7000 rw-p 00000000 08:01 279154
/home/carl/gub/target/darwin-ppc/build/cross/gcc-4.1.1/gcc/libgcc_eh.a
(deleted)
401a7000-401c4000 r-xp 00000000 08:01 918506     /lib/libgcc_s.so.1
401c4000-401c5000 r--p 0001c000 08:01 918506     /lib/libgcc_s.so.1
401c5000-401c6000 rw-p 0001d000 08:01 918506     /lib/libgcc_s.so.1
bfb6f000-bfb87000 rw-p 00000000 00:00 0          [stack]
Command barfed: cd /home/carl/gub/target/darwin-ppc/build/cross/gcc-4.1.1
&& make -j2  
tooldir='/home/carl/gub/target/darwin-ppc/root/usr/cross/powerpc-apple-darw
in7' gcc_tooldir='/usr/powerpc-apple-darwin7'

Tail of target/darwin-ppc/log/cross/gcc.log >>>>>>>>
    make[1]: *** [all-gcc] Error 2
    make[1]: Leaving directory
`/home/carl/gub/target/darwin-ppc/build/cross/gcc-4.1.1'
    make: *** [all] Error 2
    Command barfed: cd
/home/carl/gub/target/darwin-ppc/build/cross/gcc-4.1.1 && make -j2
tooldir='/home/carl/gub/target/darwin-ppc/root/usr/cross/powerpc-apple-darw
in7' gcc_tooldir='/usr/powerpc-apple-darwin7'
<<<<<<<< Tail of target/darwin-ppc/log/cross/gcc.log

*** Failed target: darwin-ppc::cross/gcc


Looking at the failed command, it appears to me that gcc_tooldir is wrong.

There is no directory /usr/powerpc-apple-darwin7

And there shouldn't be one, IMO, since this is neither a powerpc machine
nor an osx installation.

It seems that gcc_tooldir should either be the same as tooldir, or
gcc_tooldir should reflect the current gcc that is being used.

Does anybody have any insight on this?

Thanks,

Carl







reply via email to

[Prev in Thread] Current Thread [Next in Thread]