First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 106701
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 106157
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Armando Di Cianno (RETIRED) <fafhrd@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 106701 depends on: Show dependency tree
Bug 106701 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-20 10:38 0000
libgdiplus (x86 stable) failed to build; I mostly ignored the error, and tried
to emerge newer and newer versions.  They all fail on compilation of mmx code.

The option for using MMX code seems to be autodetected based on CFLAGS.  Using
my default of CFLAGS="-pipe -O2 -march=pentium-m -mfpmath=sse -funit-at-a-time
-finline-functions -ftracer" failed, but CFLAGS="-mcpu=i386" worked.

Reproducible: Always
Steps to Reproduce:
1. Set CFLAGS as above.
2. emerge
3. Watch failure.

( And if you want to do so...
 4. Set CFLAGS="-mcpu=i386"
 5. emerge
 6. Watch success.
)
Actual Results:  
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.    -mmmx -msse -Winline --param
inline-unit-growth=10000 --param large-function-growth=10000 -pipe -O2
-march=pentium-m -mfpmath=sse -finline-functions -funit-at-a-time -ftracer -MT
libpixman_mmx_la-fbmmx.lo -MD -MP -MF ".deps/libpixman_mmx_la-fbmmx.Tpo" -c -o
libpixman_mmx_la-fbmmx.lo `test -f 'fbmmx.c' || echo './'`fbmmx.c; \
then mv -f ".deps/libpixman_mmx_la-fbmmx.Tpo"
".deps/libpixman_mmx_la-fbmmx.Plo"; else rm -f
".deps/libpixman_mmx_la-fbmmx.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -mmmx -msse
-Winline --param inline-unit-growth=10000 --param large-function-growth=10000
-pipe -O2 -march=pentium-m -mfpmath=sse -finline-functions -funit-at-a-time
-ftracer -MT libpixman_mmx_la-fbmmx.lo -MD -MP -MF
.deps/libpixman_mmx_la-fbmmx.Tpo -c
fbmmx.c  -fPIC -DPIC -o .libs/libpixman_mmx_la-fbmmx.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -pipe -O2
-march=pentium-m -mfpmath=sse -finline-functions -funit-at-a-time -ftracer -MT
fbcompose.lo -MD -MP -MF .deps/fbcompose.Tpo -c fbcompose.c -o fbcompose.o
>/dev/null 2>&1
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -mmmx -msse
-Winline --param inline-unit-growth=10000 --param large-function-growth=10000
-pipe -O2 -march=pentium-m -mfpmath=sse -finline-functions -funit-at-a-time
-ftracer -MT libpixman_mmx_la-fbmmx.lo -MD -MP -MF
.deps/libpixman_mmx_la-fbmmx.Tpo -c
fbmmx.c -o libpixman_mmx_la-fbmmx.o >/dev/null 2>&1
make[5]: *** [libpixman_mmx_la-fbmmx.lo] Error 1
make[5]: Leaving directory
`/var/tmp/portage/libgdiplus-1.1.9/work/libgdiplus-1.1.9/cairo/pixman/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/libgdiplus-1.1.9/work/libgdiplus-1.1.9/cairo/pixman'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/libgdiplus-1.1.9/work/libgdiplus-1.1.9/cairo'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/libgdiplus-1.1.9/work/libgdiplus-1.1.9/cairo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.9/work/libgdiplus-1.1.9'
make: *** [all] Error 2

!!! ERROR: dev-dotnet/libgdiplus-1.1.9 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Emerge should succeed with my fairly conservative default CFLAGS.  If MMX code
is indeed broken (or broken on some platforms, even), it should be able to be
turned off somehow.


Portage 2.0.52-r1 (!/usr/portage/profiles/default-linux/x86/2005.0, gcc-3.4.4,
glibc-2.3.5-r1, 2.6.12.6-RT-V0.7.51-38 i686)
=================================================================
System uname: 2.6.12.6-RT-V0.7.51-38 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium-m -mfpmath=sse -finline-functions
-funit-at-a-time -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=pentium-m -mfpmath=sse -finline-functions
-funit-at-a-time -ftracer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/
http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/home/armando/Projects/GENTOO/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apm avi bash-completion berkdb bitmap-fonts crypt
cscope cups curl directfb eds emboss encode esd fam fbcon flac foomaticdb
fortran gd gdbm gif gnustep gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6
jack jikes jpeg kerberos ldap libg++ libwww lirc mad mcal mikmod mmx mozilla mp3
mpeg mysql ncurses nptl odbc ogg oggvorbis opengl oss pam pdflib perl pic png
postgres python quicktime readline ruby samba sasl scanner sdl slang speex spell
sqlite sse ssl tcpd tetex threads tiff truetype truetype-fonts type1-fonts
unicode vorbis
xine xml xml2 xmms xv zlib video_cards_i830 video_cards_i915 userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Jakub Moc (RETIRED) 2005-09-20 10:45:18 0000 -------

*** This bug has been marked as a duplicate of 106157 ***

First Last Prev Next    No search results available      Search page      Enter new bug