Bug#560547: llvm-gcc-4.2: FTBFS: ld: cannot find -lffi

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Dec 11 08:42:58 UTC 2009


Source: llvm-gcc-4.2
Version: 2.6-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091210 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> c++   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H  -o Tcollect2 \
> 		collect2.o tlink.o intl.o version.o ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/lib/llvm/lib  -lpthread -lffi -ldl -lm  
> ../../llvm-gcc-4.2-2.6/gcc/tree.h:1433:1: warning: invoking macro VEC_TA_GTY argument 4: empty macro arguments are undefined in ISO C90 and ISO C++98
> /usr/bin/ld: cannot find -lffi
> collect2: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/12/10/llvm-gcc-4.2_2.6-3_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-llvm-team mailing list