Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75667 - Emerge system failed with ***[tar] Error 1. Undefined reference to '_fixunstfdi' in libtar.a(human.o)
Summary: Emerge system failed with ***[tar] Error 1. Undefined reference to '_fixunstf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 19:01 UTC by Raymond Ng Tong Leng
Modified: 2004-12-26 18:06 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 Raymond Ng Tong Leng 2004-12-25 19:01:40 UTC
I am trying to install Gentoo from Stage 1. But my installation failed when I emerge system. I received the following error:

/lib/libtar.a(human.o)(.text+0x274): In function 'human_readable': Undefined reference to '_fixunstfdi'
/lib/libtar.a(human.o)(.text+0x4fd): In function 'human_readable': Undefined reference to '_fixunstfdi'
/lib/libtar.a(human.o)(.text+0x61c): In function 'human_readable': Undefined reference to '_fixunstfdi'

collect2: ld returned 1 exit status
make[2]: *** [tar] Error 1
make[2]: Leaving directory '/var/tmp/portage/tar-1.14/work/tar-1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/tar-1.14/work/tar-1.14'
make: *** [all] Error 2

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

Actual Results:  
/lib/libtar.a(human.o)(.text+0x274): In function 'human_readable': Undefined 
reference to '_fixunstfdi'
/lib/libtar.a(human.o)(.text+0x4fd): In function 'human_readable': Undefined 
reference to '_fixunstfdi'
/lib/libtar.a(human.o)(.text+0x61c): In function 'human_readable': Undefined 
reference to '_fixunstfdi'

collect2: ld returned 1 exit status
make[2]: *** [tar] Error 1
make[2]: Leaving directory '/var/tmp/portage/tar-1.14/work/tar-1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/tar-1.14/work/tar-1.14'
make: *** [all] Error 2

Expected Results:  
Emerge system should install gentoo system.

Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-
r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Pentium III (Coppermine)
Autoconf: 
Automake: 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: 
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -malign-double -m128bit-long-double -
maccumulate-outgoing-args -minline-all-stringops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -malign-double -m128bit-long-double -
maccumulate-outgoing-args -minline-all-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ 
ftp://mirror.averse.net/pub/gentoo http://www.zentek-
international.com/mirrors/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl berkdb bitmap-fonts crypt cups foomaticdb fortran gdbm gif gpm 
ipv6 jpeg libwww ncurses nls pam pdflib perl png python readline spell ssl svga 
tcpd xml2 zlib"
Comment 1 SpanKY gentoo-dev 2004-12-26 13:47:19 UTC
add if you do it with simpler CFLAGS ?
CFLAGS="-O2 -march=pentium3 -pipe"
Comment 2 Raymond Ng Tong Leng 2004-12-26 18:06:13 UTC
Following SpanKY's comments, I edited my CFLAGS. Before emerging tar, I removed each flag individually while leaving the rest unchanged because I wanted to find the CFLAG that is causing the error. And voila!, here is the CFLAG that is causing the problem:

"-m128bit-long-double"

This means tar cannot be compiled with "-m128bit-long-double" in CFLAGS.

SpanKY, thanks!