Public bug reported:

Binary package hint: build-essential

I get the following when trying to build AWOS (awos.sourceforge.net)

Making libc...
make -C libc
make[1]: Entering directory `/home/jknife/awos/src/libc'
gcc -O0 -fno-stack-protector -fstrength-reduce -fomit-frame-pointer 
-finline-functions -nostdinc -fno-builtin -I../kernel/include -I. -c printf.c 
string.c unistd.c
make[1]: Leaving directory `/home/jknife/awos/src/libc'
echo 'Making kernel...'
Making kernel...
make -C kernel
make[1]: Entering directory `/home/jknife/awos/src/kernel'
ld -T link.ld -Map ../kernel.map
ld: warning: cannot find entry symbol start; defaulting to 0000000000100000
*** glibc detected *** ld: free(): invalid pointer: 0x0817d06c ***
======= Backtrace: =========
/lib/libc.so.6[0x40137322]
/lib/libc.so.6(cfree+0x89)[0x401389d9]
/usr/lib/libbfd-2.17.50.so(bfd_elf_final_link+0x1e67)[0x40082887]
ld[0x805f90b]
ld[0x805ef20]
/lib/libc.so.6(__libc_start_main+0xdc)[0x400e8ebc]
ld[0x804b011]
======= Memory map: ========
08048000-080b7000 r-xp 00000000 03:03 18089810   /usr/bin/ld
080b7000-080b9000 rw-p 0006f000 03:03 18089810   /usr/bin/ld
080b9000-08188000 rw-p 080b9000 00:00 0          [heap]
40000000-40019000 r-xp 00000000 03:03 8568848    /lib/ld-2.5.so
40019000-4001b000 rw-p 00019000 03:03 8568848    /lib/ld-2.5.so
4001b000-4001c000 r-xp 4001b000 00:00 0          [vdso]
4001c000-40029000 rw-p 4001c000 00:00 0 
4002d000-400c7000 r-xp 00000000 03:03 18089795   /usr/lib/libbfd-2.17.50.so
400c7000-400cf000 rw-p 0009a000 03:03 18089795   /usr/lib/libbfd-2.17.50.so
400cf000-400d3000 rw-p 400cf000 00:00 0 
400d3000-401f9000 r-xp 00000000 03:03 8568883    /lib/libc-2.5.so
401f9000-401fa000 r--p 00125000 03:03 8568883    /lib/libc-2.5.so
401fa000-401fc000 rw-p 00126000 03:03 8568883    /lib/libc-2.5.so
401fc000-40201000 rw-p 401fc000 00:00 0 
40211000-4021b000 r-xp 00000000 03:03 8568928    /lib/libgcc_s.so.1
4021b000-4021c000 rw-p 00009000 03:03 8568928    /lib/libgcc_s.so.1
40300000-40321000 rw-p 40300000 00:00 0 
40321000-40400000 ---p 40321000 00:00 0 
bffb5000-bffca000 rw-p bffb5000 00:00 0          [stack]
make[1]: *** [all] Aborted (core dumped)
make[1]: Leaving directory `/home/jknife/awos/src/kernel'
make: *** [all] Error 2

** Affects: build-essential (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
ld tries to free on a non-existant pointer
https://launchpad.net/bugs/81951

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to