Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116873 - dev-libs/libebml-0.7.3 failed to compile: (says recompile with -fPIC)
Summary: dev-libs/libebml-0.7.3 failed to compile: (says recompile with -fPIC)
Status: RESOLVED DUPLICATE of bug 78720
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Low major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 126273 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-27 06:35 UTC by Roman Gaufman
Modified: 2006-03-15 06:01 UTC (History)
2 users (show)

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 Roman Gaufman 2005-12-27 06:35:31 UTC
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h: In function `bool libebml::IsAlignedOn(const void*, unsigned int)':
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlDate.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlDate.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlDummy.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlDummy.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlElement.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlElement.cpp
In file included from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlMaster.h:44,
                 from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlElement.cpp:38:
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h: In function `bool libebml::IsAlignedOn(const void*, unsigned int)':
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlFloat.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlFloat.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlHead.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlHead.cpp
In file included from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlMaster.h:44,
                 from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlHead.h:40,
                 from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlHead.cpp:36:
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h: In function `bool libebml::IsAlignedOn(const void*, unsigned int)':
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlMaster.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlMaster.cpp
In file included from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlMaster.h:44,
                 from /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlMaster.cpp:40:
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h: In function `bool libebml::IsAlignedOn(const void*, unsigned int)':
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../ebml/EbmlCrc32.h:146: warning: cast from pointer to integer of different size
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlSInteger.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlSInteger.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlStream.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlStream.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlString.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlString.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlSubHead.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlSubHead.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlUInteger.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlUInteger.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlUnicodeString.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlUnicodeString.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlVersion.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlVersion.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlVoid.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlVoid.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/IOCallback.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/IOCallback.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/MemIOCallback.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/MemIOCallback.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -O3 -march=athlon64 -fvisibility-inlines-hidden -fPIC   -I/home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../.. -fPIC -o /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/StdIOCallback.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/StdIOCallback.cpp
g++ -shared -Wl,-soname,libebml.so.0 -o libebml.so.0 /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/Debug.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlBinary.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlContexts.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlCrc32.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlDate.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlDummy.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlElement.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlFloat.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlHead.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlMaster.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlSInteger.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlStream.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlString.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlSubHead.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlUInteger.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlUnicodeString.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlVersion.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/EbmlVoid.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/IOCallback.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/MemIOCallback.lo /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/StdIOCallback.lo
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /home/portage-tmp/portage/libebml-0.7.3/work/libebml-0.7.3/make/linux/../../src/IOCallback.lo: relocation R_X86_64_PC32 against `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [libebml.so] Error 1

!!! ERROR: dev-libs/libebml-0.7.3 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Roman Gaufman 2005-12-27 06:41:45 UTC
Same compile error with the masked dev-libs/libebml-0.7.6
Comment 2 Roman Gaufman 2005-12-27 06:44:14 UTC
If you dont need matroska in mplayer, you can emerge mplayer with USE="-matroska" to get around this ebml dependency.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-27 07:32:28 UTC
Please post your emerge info.
Comment 4 Roman Gaufman 2005-12-30 04:20:49 UTC
# emerge info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-rc1-mm2 x86_64)
=================================================================
System uname: 2.6.15-rc1-mm2 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.3.5, 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.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shut
down /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="-O2 -march=athlon64 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage-tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups dlloader dts
 eds emboss encode exif expat fam foomaticdb fortran gd geoip gif glut gpm gstreamer gtk2 hal idn imagema
gick imlib ipv6 jpeg kde kdeenablefinal lcms lua lzw lzw-tiff mad mng motif mp3 mpeg ncurses nls ogg open
gl pam pcre pdflib perl png python qt quicktime readline speex spell ssl tcpd tiff truetype truetype-font
s type1-fonts udev unicode usb userlocales vorbis xml2 xpm xv xvid zlib userland_GNU kernel_linux elibc_g
libc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-30 05:14:51 UTC
Drop -fvisibility-inline-hidden


*** This bug has been marked as a duplicate of 78720 ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 03:48:56 UTC
*** Bug 126273 has been marked as a duplicate of this bug. ***
Comment 7 David Philippi 2006-03-15 06:01:20 UTC
Wouldn't it be nice to add -fvisibility-inlines-hidden to the filter flags so other users won't hit the bug anymore?