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

Bug 41362

Summary: app-arch/dar-2.1.0 doesn't build (unresolved symbols)
Product: Gentoo Linux Reporter: Thomas Witzel <twitzel>
Component: Current packagesAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: halcy0n, radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The Manifest file
Updated ebuild for 0.10 (now using tar.gz)

Description Thomas Witzel 2004-02-12 06:17:31 UTC
g++ -O3 -march=pentium4 -o get_version get_version.o catalogue.o compressor.o deci.o defile.o ea.o ea_filesystem.o erreurs.o etage.o filesystem.o filtre.o generic_file.o header.o header_version.o libdar.o macro_tools.o mask.o path.o sar.o sar_tools.o scrambler.o storage.o terminateur.o test_memory.o tools.o tronc.o tuyau.o user_interaction.o wrapperlib.o zapette.o special_alloc.o archive.o crypto.o real_infinint.o  /usr/lib/libattr.so -ldl -lbz2 -lz
deci.o(.gnu.linkonce.t._ZN6libdar8infinint7unstackIhEEvRT_+0x1d): In function `void libdar::infinint::unstack<unsigned char>(unsigned char&)':
: undefined reference to `void libdar::infinint::infinint_unstack_to<unsigned char>(unsigned char&)'
filesystem.o(.gnu.linkonce.t._ZN6libdar8infinint7unstackIlEEvRT_+0x1d): In function `void libdar::infinint::unstack<long>(long&)':
: undefined reference to `void libdar::infinint::infinint_unstack_to<long>(long&)'
generic_file.o(.gnu.linkonce.t._ZN6libdar8infinint7unstackIxEEvRT_+0x1d): In function `void libdar::infinint::unstack<long long>(long long&)':
: undefined reference to `void libdar::infinint::infinint_unstack_to<long long>(long long&)'
tools.o(.text+0xd1c): In function `libdar::tools_get_extended_size(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `libdar::infinint libdar::infinint::power<unsigned>(unsigned const&) const'
tools.o(.text+0xd9e): In function `libdar::tools_get_extended_size(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `libdar::infinint libdar::infinint::power<unsigned>(unsigned const&) const'
tools.o(.text+0xe20): In function `libdar::tools_get_extended_size(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `libdar::infinint libdar::infinint::power<unsigned>(unsigned const&) const'
tools.o(.text+0xea2): In function `libdar::tools_get_extended_size(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `libdar::infinint libdar::infinint::power<unsigned>(unsigned const&) const'
tools.o(.text+0xf24): In function `libdar::tools_get_extended_size(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
: undefined reference to `libdar::infinint libdar::infinint::power<unsigned>(unsigned const&) const'
tools.o(.text+0xfa6): more undefined references to `libdar::infinint libdar::infinint::power<unsigned>(unsigned const&) const' follow
collect2: ld returned 1 exit status


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 revertex 2004-02-12 21:05:09 UTC
doesn't work for me too, but 2.04 work's fine
________________________________________

emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3                            -rc2-gentoo)
=================================================================
System uname: 2.6.3-rc2-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled                            ]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2                            /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu                            x/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib aavm acpi acpi4linux alsa amd apm arts avi berkdb bonobo cdr                             crypt cups curl dga directfb dnd dvb dvd emacs encode esd ethereal fbcon foomati                            cdb gdbm gif gphoto2 gpm gtk gtk2 imlib ipv6 jack java jpeg kde ldap libg++ libw                            ww linguas_pt_BR mad mbox mikmod mmx motif mozilla moznoimigmail moznoirc moznom                            ail mpeg mysql ncurses nls nocardbus oggvorbis opengl oss pam pdflib perl pic pl                            otutils png python qt quicktime readline ruby samba sdl slang spell ssl svga tcl                            tk tcpd tiff truetype usb wmf x86 xml xml2 xmms xosd xv zlib"
Comment 2 Adrian Almenar 2004-02-14 20:34:53 UTC
This is not java related, returning to bug-wranglers.

BTW: 
metadata.xml says:
  dev:   matsuu
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2004-02-17 19:30:29 UTC
It looks like this bug was caused by -O3, which was resolved by the replace-flags added into dar-2.1.0-r1.  The compile failed when using -O3, but having it switched to -O2 worked fine for me.
Comment 4 Rene Androsch 2004-02-18 16:51:23 UTC
Created attachment 25892 [details]
The Manifest file
Comment 5 Rene Androsch 2004-02-18 16:52:11 UTC
Created attachment 25893 [details]
Updated ebuild for 0.10 (now using tar.gz)
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2004-02-20 17:11:41 UTC
Please test dar-2.1.0-r1.ebuild.