--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libtool on alpha causes linking errors when run on AFS
- From: Juha JÀykkÀ <juhaj@iki.fi>
- Date: Thu, 02 Feb 2006 10:36:49 +0200
- Message-id: <E1F4ZxR-0001a4-Jj@lagrange.tfy.utu.fi>
Package: libtool
Version: 1.5.6-6
Severity: important
Building shared libraries on Debian/Alpha does not work when the source is
on AFS, but instead causes a linking error:
/usr/lib/gcc-lib/alpha-linux/3.3.5/../../../crt1.o(.text+0x10):../sysdeps
/alpha/elf/start.S:37: undefined reference to `main'
This happens more than 9 times out of 10, but most importantly, it does not
always occur and I could not make it happen on any x86 arch (x86_64 was not
tested).
I made this important because it only seems to affect alpha although since
it breaks unrelated software (builds), it could even be critical (right?).
An example failing build is Heimdal: at the very beginning of the build
process:
/usr/bin/make -C build-tree/heimdal-0.7.1
[entering a few directories]
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../lib/roken -I../lib/roken -DHOST=\"i686-pc-linux-gnu\" -I/usr/include/et -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -c bits.c
/bin/sh ../libtool --mode=link gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -o bits bits.o -lresolv -pthread
mkdir .libs
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -o bits bits.o -lresolv -pthread
/usr/lib/gcc-lib/alpha-linux/3.3.5/../../../crt1.o(.text+0x10): ../sysdeps/alpha/elf/start.S:37: undefined reference to `main'
The build, naturally, fails here. I think this bug is related to this:
http://lists.gnu.org/archive/html/bug-libtool/2002-12/msg00017.html
-- System Information:
Debian Release: 3.1
Architecture: alpha
Kernel: Linux 2.4.27-2-smp
Locale: LANG=C, LC_CTYPE=fi_FI@euro (charmap=ISO-8859-15)
Versions of packages libtool depends on:
ii autotools-dev 20050422.1 Update infrastructure for config.{
ii cpp 4:3.3.5-3 The GNU C preprocessor (cpp)
ii file 4.12-1 Determines file type using "magic"
ii gcc [c-compiler] 4:3.3.5-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.5-13 The GNU C compiler
ii libc6.1-dev [libc6-dev] 2.3.2.ds1-22 GNU C Library: Development Librari
-- no debconf information
--- End Message ---