Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26 closed bug (fixed)

libroot won't build with DEBUG=1

Reported by: bpmagic@… Owned by: korli
Priority: normal Milestone: R1
Component: System/Kernel Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

When debugging info is built into the tree, when libroot is built, there are numerous linker errors about missing symbols, listed below.

posix_gnu_arch_x86.o: missing mpn_add_1 printf_fphex.c: missing signbitl printf_fphex.c: missing signbit

This only occurs with DEBUG=1 defined, however.

Change History (12)

comment:1 Changed 14 years ago by korli

Owner: changed from axeld to korli@…

comment:2 Changed 14 years ago by korli

Status: newassigned

comment:3 Changed 14 years ago by korli

Status: assignedclosed

comment:4 Changed 14 years ago by korli

EXPORT DEBUG=1 jam libroot.so ... /boot/home/svnhaiku/trunk/src/system/libroot/posix/glibc/wcsmbs/wcsrtombs.c:67: warning: implicit declaration of function `wcslen' /boot/home/svnhaiku/trunk/src/system/libroot/posix/glibc/wcsmbs/wcsrtombs.c:104: warning: implicit declaration of function `wcsnlen' /boot/home/svnhaiku/trunk/src/system/libroot/posix/glibc/wcsmbs/wcsrtombs.c:124: warning: implicit declaration of function `mbsinit' Cc ../../../../objects/x86.R1/system/libroot/posix/glibc/wcsmbs/wmemcpy.o /boot/home/svnhaiku/trunk/src/system/libroot/posix/glibc/wcsmbs/wmemcpy.c:26: warning: no previous prototype for `wmemcpy' Cc ../../../../objects/x86.R1/system/libroot/posix/glibc/wcsmbs/wmempcpy.o /boot/home/svnhaiku/trunk/src/system/libroot/posix/glibc/wcsmbs/wmempcpy.c:26: warning: no previous prototype for `wmempcpy' Cc ../../../../objects/x86.R1/system/libroot/posix/glibc/wcsmbs/wmemmove.o /boot/home/svnhaiku/trunk/src/system/libroot/posix/glibc/wcsmbs/wmemmove.c:26: warning: no previous prototype for `wmemmove' MergeObjectFromObjects1 ../../../../objects/x86. R1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o KernelLd ../../../../objects/x86.R1/system/libroot.so ...updated 167 target(s)...

comment:5 Changed 14 years ago by korli

Resolution: worksforme

comment:6 Changed 14 years ago by korli

Status: closedreopened

comment:7 Changed 14 years ago by korli

Resolution: worksforme

comment:8 Changed 14 years ago by korli

Resolution: fixed

comment:9 Changed 14 years ago by korli

I finally reproduced this bug. GCC doesn't inline functions whenever -g or -O0 is provided. Fixed in revision 13152

comment:10 Changed 14 years ago by korli

Status: reopenedclosed

comment:11 Changed 14 years ago by jackburton

Darkwyrm, please close this bug if it doesn't longer apply.

comment:12 Changed 14 years ago by bpmagic@…

Checked build. Works. Thanks much, Jerome. :)

Note: See TracTickets for help on using tickets.