[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] missing exit_status in tar-1.15.91
From: |
Denis Excoffier |
Subject: |
[Bug-tar] missing exit_status in tar-1.15.91 |
Date: |
Mon, 19 Jun 2006 22:16:07 +0200 |
User-agent: |
Mutt/1.5.5.1i |
Hello,
In order to build correctly tar-1.15.91 under powerpc-apple-darwin8.6.0 with
GCC 4.1.1 and native ld, i had to add "int exit_status;" in tar.c; However,
both ../lib/paxedit.o and ../lib/libtar.a seem (according to native nm) to
contain exit_status.
I get:
openat.c: In function 'rpl_openat':
openat.c:60: warning: 'mode_t' is promoted to 'int' when passed through '...'
openat.c:60: warning: (so you should pass 'int' not 'mode_t' to 'va_arg')
openat.c:60: note: if this code is reached, the program will abort
create.c: In function 'mode_to_chars':
create.c:296: warning: comparison is always false due to limited range of data
type
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
../lib/libtar.a(localcharset.o) definition of _locale_charset in section
(__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
_exit_status
collect2: ld returned 1 exit status
make[2]: *** [tar] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Best regards.
Denis Excoffier.
- [Bug-tar] missing exit_status in tar-1.15.91,
Denis Excoffier <=