Opened 19 years ago

Closed 19 years ago

Last modified 19 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:
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 by korli, 19 years ago

Owner: changed from axeld to korli@…

comment:2 by korli, 19 years ago

Status: newassigned

comment:3 by korli, 19 years ago

Status: assignedclosed

comment:4 by korli, 19 years ago

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 by korli, 19 years ago

Resolution: worksforme

comment:6 by korli, 19 years ago

Status: closedreopened

comment:7 by korli, 19 years ago

Resolution: worksforme

comment:8 by korli, 19 years ago

Resolution: fixed

comment:9 by korli, 19 years ago

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

comment:10 by korli, 19 years ago

Status: reopenedclosed

comment:11 by jackburton, 19 years ago

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

comment:12 by bpmagic@…, 19 years ago

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

Note: See TracTickets for help on using tickets.