[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Cross static build failure

From: John Wyatt
Subject: [Bug-tar] Cross static build failure
Date: Wed, 31 Dec 2003 15:07:16 -0800 (PST)

versions affected 1.13.90, 1.13.92, possibly cvs
distro Slackware 9.1, little modifications
gcc 3.2.3, pentium 4,

Building tar for an lfs(linux from scratch) toolchain,
using the option to go competly static.

Commands (Note: configure was cut off in the email)
LDFLAGS="-static" ./configure --prefix=/tools
make install

make[1]: Entering directory
make[2]: Entering directory
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory
make[1]: Leaving directory
Making install in src
make[1]: Entering directory
gcc -s  -g -O2  -static -o tar  buffer.o compare.o
create.o delete.o extract.o xheader.o incremen.o
list.o mangle.o misc.o names.o rtapelib.o sparse.o
system.o tar.o update.o ../lib/libtar.a  -lrt
/usr/lib/libc.a(mktime.o)(.text+0x200): In function
: multiple definition of `__mktime_internal'
first defined here
Warning: size of symbol `__mktime_internal' changed
from 1334 in ../lib/libtar.a(mktime.o) to 1289 in
collect2: ld returned 1 exit status
make[1]: *** [tar] Error 1
make[1]: Leaving directory
make: *** [install-recursive] Error 1

Do note that 1.13.25 still works in a static build

reply via email to

[Prev in Thread] Current Thread [Next in Thread]