newest dillo dies with this output i686-pc-linux-gnu-gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include -DENABLE_IPV6 -DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -L/usr/local/lib -lXft -lX11 -L/usr/lib -lfreetype -lfontconfig -L/usr/lib -lXrender -o downloads.dpi downloads.o dpiutil.o -L/usr/lib -lglib -lssl i686-pc-linux-gnu-gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include -DENABLE_IPV6 -DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -L/usr/local/lib -lXft -lX11 -L/usr/lib -lfreetype -lfontconfig -L/usr/lib -lXrender -o ftp.filter.dpi ftp.o dpiutil.o -L/usr/lib -lglib -lssl i686-pc-linux-gnu-gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include -DENABLE_IPV6 -DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -L/usr/local/lib -lXft -lX11 -L/usr/lib -lfreetype -lfontconfig -L/usr/lib -lXrender -o hello.filter.dpi hello.o dpiutil.o -L/usr/lib -lglib -lssl i686-pc-linux-gnu-gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -I/usr/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include -DENABLE_IPV6 -DENABLE_META_REFRESH -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -L/usr/local/lib -lXft -lX11 -L/usr/lib -lfreetype -lfontconfig -L/usr/lib -lXrender -o file.dpi file.o dpiutil.o -L/usr/lib -lglib -lpthread -lssl bookmarks.c: In function `main': bookmarks.c:1748: warning: implicit declaration of function `setlocale' bookmarks.c:1748: error: `LC_ALL' undeclared (first use in this function) bookmarks.c:1748: error: (Each undeclared identifier is reported only once bookmarks.c:1748: error: for each function it appears in. This is the the same as this old bug 28664 concerning gedit. Same solution changed from CFLAGS="-march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe" to CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe" and dillo built. This is just for documentation since dillo did build. Portage 2.0.51.19 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r7n i686) ================================================================= System uname: 2.6.10-gentoo-r7n i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 3 2005, 18:23:55)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US" LC_ALL="C" MAKEOPTS="-j5 " PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/include/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 async avi berkdb bitmap-fonts chroot cpdflib crypt cups curl dba dillo divx4linux doc emboss encode esd fam fbdev flac foomaticdb fpx freetype gd gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java javascript jpeg kde libwww live lynxkeymap lzw lzw-tiff mad mikmod mmx mmx2 motif mozilla mp3 mpeg mpeg4 mplayer mysql ncurses network nptl oggvorbis opengl oss pdflib perl php png ppds python qt quicktime readline real rtc ruby samba sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts type1 type1-fonts unicode vim xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS.
I just found what was breaking the ebuild. If you look at my orignal CFLAGS youll see that I forgot to put "-O2" into them. When I add -O2 dillo builds and runs fine. CFLAGS used to build dillo: CFLAGS="-march=athlon-xp -O2 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe". After finding -O2 was left out :( I tried building with 1. CFLAGS="-march=athlon-xp -pipe" and that failed. 2. CFLAGS="-march=athlon-xp -Os -pipe" worked. Suggest a minum of -Os in the CFLAGS such as CFLAGS="-Os $CFLAGS" or the equivlent to be added to ebuild.
Thougth of and tried "-O" which also works, builds dillo and it runs.
Hi, thanks for the bug report. I added -O to CFLAGS in dillo-0.8.4-r1 and dillo-0.8.4-r2. It was very kind of you to track down the problem ;) I really appreciate it.