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

Bug 113687

Summary: openexr build crashes without error message
Product: Gentoo Linux Reporter: André Terpstra <andre>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description André Terpstra 2005-11-27 02:19:33 UTC
When updating my system to use openexr the openexr ebuild just crashes. I know
there are similar bugs but this one reports no error message.

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

Actual Results:  
Part of the ebuild output:

 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"OpenEXR\" -DVERSION=\"1.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1 -DHAVE_COMPLETE_IOMANIP=1
-DHAVE_STL_LIMITS=1 -I. -I. -I.. -I../Half -I../Iex -I../Imath -pipe -O3
-march=athlon64 -mtune=athlon64 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden -MT
ImfRgbaYca.lo -MD -MP -MF .deps/ImfRgbaYca.Tpo -c ImfRgbaYca.cpp -o ImfRgbaYca.o
>/dev/null 2>&1
if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"OpenEXR\" -DVERSION=\"1.2.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1
-DHAVE_COMPLETE_IOMANIP=1 -DHAVE_STL_LIMITS=1  -I. -I. -I.. -I../Half -I../Iex
-I../Imath   -pipe  -O3 -march=athlon64 -mtune=athlon64 -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe
-fvisibility-inlines-hidden -MT ImfTestFile.lo -MD -MP -MF ".deps/ImfTestFile.Tpo" \
  -c -o ImfTestFile.lo `test -f 'ImfTestFile.cpp' || echo './'`ImfTestFile.cpp; \
then mv -f ".deps/ImfTestFile.Tpo" ".deps/ImfTestFile.Plo"; \
else rm -f ".deps/ImfTestFile.Tpo"; exit 1; \
fi
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"OpenEXR\" -DVERSION=\"1.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1 -DHAVE_COMPLETE_IOMANIP=1
-DHAVE_STL_LIMITS=1 -I. -I. -I.. -I../Half -I../Iex -I../Imath -pipe -O3
-march=athlon64 -mtune=athlon64 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden -MT
ImfTestFile.lo -MD -MP -MF .deps/ImfTestFile.Tpo -c ImfTestFile.cpp  -fPIC -DPIC
-o .libs/ImfTestFile.o
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"OpenEXR\" -DVERSION=\"1.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1 -DHAVE_COMPLETE_IOMANIP=1
-DHAVE_STL_LIMITS=1 -I. -I. -I.. -I../Half -I../Iex -I../Imath -pipe -O3
-march=athlon64 -mtune=athlon64 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden -MT
ImfTestFile.lo -MD -MP -MF .deps/ImfTestFile.Tpo -c ImfTestFile.cpp -o
ImfTestFile.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-g++ -pipe  -O3
-march=athlon64 -mtune=athlon64 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden   -o
libIlmImf.la -rpath /usr/lib64 -version-info 2:2:0 ImfAttribute.lo
ImfBoxAttribute.lo ImfCRgbaFile.lo ImfChannelList.lo ImfChannelListAttribute.lo
ImfFloatAttribute.lo ImfFrameBuffer.lo ImfHeader.lo ImfIO.lo ImfInputFile.lo
ImfIntAttribute.lo ImfLineOrderAttribute.lo ImfMatrixAttribute.lo
ImfOpaqueAttribute.lo ImfOutputFile.lo ImfRgbaFile.lo ImfStringAttribute.lo
ImfVecAttribute.lo ImfHuf.lo ImfWav.lo ImfLut.lo ImfCompressor.lo
ImfRleCompressor.lo ImfZipCompressor.lo ImfPizCompressor.lo ImfMisc.lo
ImfCompressionAttribute.lo ImfDoubleAttribute.lo ImfConvert.lo
ImfPreviewImage.lo ImfPreviewImageAttribute.lo ImfVersion.lo
ImfChromaticities.lo ImfChromaticitiesAttribute.lo ImfKeyCode.lo
ImfKeyCodeAttribute.lo ImfTimeCode.lo ImfTimeCodeAttribute.lo
ImfStandardAttributes.lo ImfStdIO.lo ImfEnvmap.lo ImfEnvmapAttribute.lo
ImfScanLineInputFile.lo ImfTiledInputFile.lo ImfTiledMisc.lo
ImfTiledOutputFile.lo ImfTiledRgbaFile.lo ImfTileDescriptionAttribute.lo
ImfTileOffsets.lo ImfRgbaYca.lo ImfPxr24Compressor.lo ImfTestFile.lo
x86_64-pc-linux-gnu-g++ -shared -nostdlib
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o  .libs/ImfAttribute.o
.libs/ImfBoxAttribute.o .libs/ImfCRgbaFile.o .libs/ImfChannelList.o
.libs/ImfChannelListAttribute.o .libs/ImfFloatAttribute.o .libs/ImfFrameBuffer.o
.libs/ImfHeader.o .libs/ImfIO.o .libs/ImfInputFile.o .libs/ImfIntAttribute.o
.libs/ImfLineOrderAttribute.o .libs/ImfMatrixAttribute.o
.libs/ImfOpaqueAttribute.o .libs/ImfOutputFile.o .libs/ImfRgbaFile.o
.libs/ImfStringAttribute.o .libs/ImfVecAttribute.o .libs/ImfHuf.o .libs/ImfWav.o
.libs/ImfLut.o .libs/ImfCompressor.o .libs/ImfRleCompressor.o
.libs/ImfZipCompressor.o .libs/ImfPizCompressor.o .libs/ImfMisc.o
.libs/ImfCompressionAttribute.o .libs/ImfDoubleAttribute.o .libs/ImfConvert.o
.libs/ImfPreviewImage.o .libs/ImfPreviewImageAttribute.o .libs/ImfVersion.o
.libs/ImfChromaticities.o .libs/ImfChromaticitiesAttribute.o .libs/ImfKeyCode.o
.libs/ImfKeyCodeAttribute.o .libs/ImfTimeCode.o .libs/ImfTimeCodeAttribute.o
.libs/ImfStandardAttributes.o .libs/ImfStdIO.o .libs/ImfEnvmap.o
.libs/ImfEnvmapAttribute.o .libs/ImfScanLineInputFile.o
.libs/ImfTiledInputFile.o .libs/ImfTiledMisc.o .libs/ImfTiledOutputFile.o
.libs/ImfTiledRgbaFile.o .libs/ImfTileDescriptionAttribute.o
.libs/ImfTileOffsets.o .libs/ImfRgbaYca.o .libs/ImfPxr24Compressor.o
.libs/ImfTestFile.o  -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64
-L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so -lm -lc
-lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o  -march=athlon64
-mtune=athlon64 -momit-leaf-frame-pointer -Wl,-soname -Wl,libIlmImf.so.2 -o
.libs/libIlmImf.so.2.0.2

real    1m7.097s
user    0m23.444s
sys     0m23.119s
PoseidonGentooTest ~ #   

Expected Results:  
compile normally

PoseidonGentooTest ~ # emerge info
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -mtune=athlon64 -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -mtune=athlon64 -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://192.168.1.200/gentoo"
LINGUAS="nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.200/gentoo-portage"
USE="amd64 X a52 aac acpi alsa apache apache2 arts audiofile avi bash-completion
berkdb bitmap-fonts bzip2 crypt cups curl dvd dvdr eds emboss encode exif expat
fam flac fltk font-server foomaticdb fortran gdbm gif gmp gphoto2 gpm gstreamer
hal idn imlib ipv6 ithreads java javascript jpeg jpeg2k kde kdeenablefinal
kdepim lcms lzw lzw-tiff mad mng mozcalendar mozilla mozsvg mp3 mpeg ncurses nls
nptl nptlonly ogg opengl pam pcre pdflib perl png python qt quicktime readline
samba scanner sdl speex spell ssl tcpd theora tiff truetype truetype-fonts
type1-fonts udev usb userlocales vcd vorbis xine xinerama xml2 xmms xpm xv xvid
xvmc zeroconf zlib video_cards_radeon linguas_nl userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 André Terpstra 2005-11-27 02:22:19 UTC
BTW, disabling fltk does not make any difference!
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-27 02:33:19 UTC
Remove -fvisibility-inlines-hidden from your CXXFLAGS and try again.
Comment 3 André Terpstra 2005-11-27 03:25:58 UTC
OK that did the trick. Wonderful. So this flag has to be filtered out in the
ebuild then?
Comment 4 André Terpstra 2005-12-16 23:28:53 UTC
This problem still exists. I had to manually disable the cxx flag again to update my system. Has my previous suggestion been heard? Is it practical?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-17 01:49:16 UTC
Don't mess with visibility... 
Comment 6 André Terpstra 2005-12-17 12:30:26 UTC
(In reply to comment #5)
> Don't mess with visibility... 
> 

What do you mean by that?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-12-17 12:38:29 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Don't mess with visibility... 
> > 
> 
> What do you mean by that?

Exactly what I've already said in comment #2 - remove that thing from CXXFLAGS.