Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192771 - windowmaker-0.92.0-r4 build failure w/ DNDEBUG
Summary: windowmaker-0.92.0-r4 build failure w/ DNDEBUG
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gnustep herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 07:22 UTC by Rafal Wijata
Modified: 2007-09-20 16:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (e-info.txt,3.24 KB, text/plain)
2007-09-17 12:38 UTC, Rafal Wijata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Wijata 2007-09-17 07:22:12 UTC
Can't update WM

Reproducible: Always

Steps to Reproduce:

Actual Results:  
After compile, linking fails
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o server server.o  ../../WINGs/libWUtil.a -L/usr/lib
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o connect connect.o  ../../WINGs/libWUtil.a -L/usr/lib
../../WINGs/libWUtil.a(string.o): In function `wstrdup':
string.c:(.text+0x16): undefined reference to `assert'
../../WINGs/libWUtil.a(string.o): In function `wstrndup':
string.c:(.text+0x155): undefined reference to `assert'
collect2: ld returned 1 exit status
make[2]: *** [server] Error 1
make[2]: *** Waiting for unfinished jobs....
../../WINGs/libWUtil.a(string.o): In function `wstrdup':
string.c:(.text+0x16): undefined reference to `assert'
../../WINGs/libWUtil.a(string.o): In function `wstrndup':
string.c:(.text+0x155): undefined reference to `assert'
collect2: ld returned 1 exit status
make[2]: *** [connect] Error 1
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o .libs/fontl fontl.o  ../../WINGs/libWINGs.a ../../wrlib/.libs/libwraster.so -L/usr/lib /usr/lib/libtiff.so -lc /usr/lib/libXpm.so /usr/lib/libpng12.so /usr/lib/libjpeg.so /usr/lib/libgif.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXext.so -lm /usr/lib/libXft.so /usr/lib/libXrender.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o .libs/puzzle puzzle.o  ../../WINGs/libWINGs.a ../../wrlib/.libs/libwraster.so -L/usr/lib /usr/lib/libtiff.so -lc /usr/lib/libXpm.so /usr/lib/libpng12.so /usr/lib/libjpeg.so /usr/lib/libgif.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXext.so -lm /usr/lib/libXft.so /usr/lib/libXrender.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
../../WINGs/libWINGs.a(string.o): In function `wstrdup':
string.c:(.text+0x16): undefined reference to `assert'
../../WINGs/libWINGs.a(string.o): In function `wstrndup':
string.c:(.text+0x155): undefined reference to `assert'
collect2: ld returned 1 exit status
make[2]: *** [fontl] Error 1
../../WINGs/libWINGs.a(string.o): In function `wstrdup':
string.c:(.text+0x16): undefined reference to `assert'
../../WINGs/libWINGs.a(string.o): In function `wstrndup':
string.c:(.text+0x155): undefined reference to `assert'
collect2: ld returned 1 exit status
make[2]: *** [puzzle] Error 1
make[2]: Leaving directory `/home/tmp/portage/x11-wm/windowmaker-0.92.0-r4/work/WindowMaker-0.92.0/WINGs/Examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/portage/x11-wm/windowmaker-0.92.0-r4/work/WindowMaker-0.92.0/WINGs'
make: *** [all-recursive] Error 1
Comment 1 Bernard Cafarelli gentoo-dev 2007-09-17 12:25:11 UTC
Please post the output of "emerge --info"
Also, does the stable windowmaker-0.92.0-r3 work fine?
Comment 2 Rafal Wijata 2007-09-17 12:38:00 UTC
Created attachment 131153 [details]
emerge --info
Comment 3 Fabian Groffen gentoo-dev 2007-09-17 13:15:43 UTC
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -DNDEBUG"

Could you remove the -DNDEBUG and try again?
Comment 4 Rafal Wijata 2007-09-17 13:22:12 UTC
Yes, it helped.
Comment 5 Fabian Groffen gentoo-dev 2007-09-17 13:28:17 UTC
clean your CFLAGS, it's not healthy to put such defines in there.