ld tries to free on a non-existant pointer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Invalid
|
Low
|
Matthias Klose |
Bug Description
Binary package hint: build-essential
I get the following when trying to build AWOS (awos.sourcefor
Making libc...
make -C libc
make[1]: Entering directory `/home/
gcc -O0 -fno-stack-
make[1]: Leaving directory `/home/
echo 'Making kernel...'
Making kernel...
make -C kernel
make[1]: Entering directory `/home/
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.
/lib/libc.
/usr/lib/
ld[0x805f90b]
ld[0x805ef20]
/lib/libc.
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/
400c7000-400cf000 rw-p 0009a000 03:03 18089795 /usr/lib/
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/
make: *** [all] Error 2
- please recheck with current binutils from feisty and gutsy
- pleae attach the object files needed for linking (in a tarball)