Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111518

Summary: imlib2 fails to emerge with uclibc due to no round() functions
Product: Gentoo Linux Reporter: Michael Lange <gentoobugs>
Component: [OLD] LibraryAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Lange 2005-11-04 17:16:01 UTC
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-libs/imlib2-1.2.0-r2  -X -doc -gif +jpeg +mmx (-nls) +png
-tiff 0 kB


i686-gentoo-linux-uclibc-ar cru .libs/libImlib2.a  api.o blend.o color.o
color_helpers.o colormod.o context.o draw.o dynamic_filters.o ellipse.o file.o
filter.o font_draw.o font_load.o font_main.o font_query.o format.o grab.o grad.o
image.o line.o polygon.o rectangle.o rend.o rgba.o rgbadraw.o rotate.o scale.o
script.o span.o updates.o ximage.o asm_blend.o asm_blend_cmod.o asm_rgba.o
asm_rotate.o asm_scale.o
i686-gentoo-linux-uclibc-ranlib .libs/libImlib2.a
creating libImlib2.la
(cd .libs && rm -f libImlib2.la && ln -s ../libImlib2.la libImlib2.la)
make[3]: Leaving directory
`/var/tmp/portage/imlib2-1.2.0-r2/work/imlib2-1.2.0/src/lib'
Making all in bin
make[3]: Entering directory
`/var/tmp/portage/imlib2-1.2.0-r2/work/imlib2-1.2.0/src/bin'
i686-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../lib
-I../../src/lib -I/usr/include/freetype2      -march=i686 -Os -pipe
-fomit-frame-pointer -mmmx -c imlib2_conv.c
/bin/sh ../../libtool --mode=link i686-gentoo-linux-uclibc-gcc  -march=i686 -Os
-pipe -fomit-frame-pointer -mmmx  -o imlib2_conv  imlib2_conv.o
../../src/lib/libImlib2.la
mkdir .libs
i686-gentoo-linux-uclibc-gcc -march=i686 -Os -pipe -fomit-frame-pointer -mmmx -o
.libs/imlib2_conv imlib2_conv.o  ../../src/lib/.libs/libImlib2.so
../../src/lib/.libs/libImlib2.so: undefined reference to `round'
collect2: ld returned 1 exit status
make[3]: *** [imlib2_conv] Error 1
make[3]: Leaving directory
`/var/tmp/portage/imlib2-1.2.0-r2/work/imlib2-1.2.0/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/imlib2-1.2.0-r2/work/imlib2-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib2-1.2.0-r2/work/imlib2-1.2.0'
make: *** [all-recursive-am] Error 2



Reproducible: Always
Steps to Reproduce:
1. emerge imlib2
2.
3.

Actual Results:  
emerge imlib2 fails

Expected Results:  
installed imlib2


Portage 2.0.51.22-r3 (uclibc/x86/2005.1, gcc-3.3.6, uclibc-0.9.27-r0,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-linux-uclibc"
CFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer -mmmx"
CHOST="i686-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks nodoc nodocs noinfo noman sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo /                
http://ftp.uni-erlangen.de/pub/mirrors/gentoo /           
http://gentoo.inode.at/ /                 ftp://gentoo.inode.at/source/ /      
          http://gd.tuwien.ac.at/opsys/linux/gentoo/ /                
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 / aac alsa bitmap-fonts dvb i8x0 jpeg minimal mmx ncurses ogg perl png
python readline sdl sse ssl truetype-fonts type1-fonts uclibc udev win32codecs
xvid zlib video_cards_i810 video_cards_i830M linguas_de userland_GNU
kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-05 00:25:54 UTC
Seems like fix for Bug 109071 does not work...
Comment 2 SpanKY gentoo-dev 2005-11-09 20:22:09 UTC
implemented the round() functions in 0.9.27-r1 and 0.9.28