Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82672 - media-gfx/opendx needs to be compiled without -finline-functions
Summary: media-gfx/opendx needs to be compiled without -finline-functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo Science Related Packages
URL: http://opendx.npaci.edu/mail/opendx-g...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 05:50 UTC by Raimondo Giammanco
Modified: 2005-05-24 16:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raimondo Giammanco 2005-02-20 05:50:53 UTC
Opendx can use hardware acceleration to draw on screen with opengl.

In my case, my nvidia and gcc 3.3.5, with -03, I found exactly the same
problem bescribed in the mailing list article I linked.

So I put -O2 in make.conf, but the resulting dx crashes when I select
render handware and I try to rotate the image. This is strange
and more strance is the config.log that I have in the work directory 
during installation where I find:
#################################
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by dx configure 4.3.2, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib LIBS= --without-cdf --with-netcdf --without-hdf --with-tiff --with-magick --with-x --host=i686-pc-linux-gnu --disable-smp-linux

bla bla

configure:2454: i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -fno-strength-reduce   conftest.c  >&5

and than misteriously


configure:27152: i686-pc-linux-gnu-gcc -o conftest -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -pthread -march=pentium3 -O2 -pipe -fomit-frame-pointer -fno-strength-reduce -D_GNU_SOURCE -I/usr/include  -D_FILE_OFFSET_BITS=64   conftest.c  -lnetcdf -lXpm -ldl -lXm -lXp -lGLU -lGL -L/usr/lib -lMagick -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread >&5

##################################

With something that looks like my old CFLAGS in make.conf

Here is the emerge info:
######################################
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 09:39:29)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.9.4, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
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/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 /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/gentoo_distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox severe sfperms strict"
GENTOO_MIRRORS=" http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var_tmp/packages"
PORTAGE_TMPDIR="/var_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X adns alsa ansi atlas auctex audiofile avantgo avi bash-completion bcmath berkdb bitmap-fonts blas blender-game bonobo bzip2 bzlib cdda cddb cdio cdparanoia cdr clisp cmucl cracklib crypt css cups curl divx4linux doc drac dv dvd dvdread edl eds emacs emacs-w3 emboss encode esd ethereal evo exif f77 faac faad fam fame festival ffmpeg fftw flac fmod font-server foomaticdb fortran fpx freetts ftp gcj gcl gd gdbm gif gimp gimpprint ginac gkrellm glade gmp gnome gnomedb gnuplot gpm gprof graphviz gs gsl gstreamer gtk gtk2 gtkhtml guile hal hbci high-ints howl ieee1394 imagemagick imap imlib imlib2 ipv6 jabber java javascript joystick jpeg jpeg2k lapack latex ldap leim libg++ libgda libwww lm_sensors lzw lzw-tiff mad makecheck matroska mikmod mime mjpeg mmx mmx2 mng monkey motif mozilla moznocompose moznoirc mp3 mpeg mpeg2 mpeg4 mpi mplayer mule multi-tty multislot music ncurses netcdf network neural nls nodrm nptl nvidia ofx ogg oggvorbis openal opengl oscar pam pda pdf pdflib perl plotutils png posix povray python qt quicktime quotes rdesktop readline real recode rrdtool rtc samba screenshot sdl slang slp smime sndfile speex spell sse sse2 ssl svg svga tcltk tcpd tetex tga theora tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb vidix vlm vorbis wmf xanim xemacs xine xml xml2 xmms xosd xpm xrandr xsl xv xvid xvmc yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
#######################
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 16:01:52 UTC
Fixed in 4.3.2-r1. Thanks!