[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-edma] Errors building EDMA
From: |
Brandon Invergo |
Subject: |
[Bug-edma] Errors building EDMA |
Date: |
Sat, 30 Mar 2013 12:41:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi,
I'm having trouble getting EDMA to build via the GNU Source Release
Collection (I'm the GSRC maintainer). Note that this is with GCC 4.7.2
and binutils 2.23.1 on Parabola GNU/Linux x86_64. Here's a portion of
the output (it's quite long but repetitive):
libtool: link: gcc -shared -fPIC -DPIC .libs/anchor_points.o .libs/clas.o
.libs/classq.o .libs/classrt
.o .libs/emi.o .libs/error.o .libs/helper.o .libs/hotswap.o .libs/idf.o
.libs/inh1.o .libs/inh.o .libs/i
ni1.o .libs/iniman.o .libs/linuxdis.o .libs/linuxdl.o .libs/linuxinit.o
.libs/linuxmem.o .libs/linuxth.o
.libs/ethread.o .libs/locators.o .libs/misc.o .libs/multiidf.o .libs/obj.o
.libs/cast_obj.o .libs/clone
_obj.o .libs/objq.o .libs/poli.o .libs/pri1.o .libs/pri3.o .libs/pri3x.o
.libs/siu.o .libs/spri3.o .libs
/subsystems.o .libs/repo.o .libs/class_mng.o .libs/sclasses.o .libs/sclass_ex.o
.libs/lea.o .libs/sys31.
o -L/home/brandon/gnu/lib -lpthread -lm -ldl -m32 -Wl,-soname
-Wl,libEDMA.so.0 -o .libs/libEDMA.so.
0.0.19
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libpthrea
d.so when searching for -lpthread
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libpthrea
d.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /lib/../lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /lib/../lib/libpthread.a when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libpthread.a when searching
for -lpthread
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../libpthread.so wh
en searching for -lpthread
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../libpthread.a whe
n searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for
-lpthread
/usr/bin/ld: cannot find -lpthread
It repeats that then for -lm, -lgcc, etc
I interpret it as being a 32-bit vs 64-bit problem. Does EDMA support
32-bit architectures only? If I explicitly set LDFLAGS to include my
/usr/lib32 and directories (I don't know how this is organized on other
distros), there seem to be fewer "skipping incompatible" messages, but
the problem persists:
libtool: link: gcc -shared -fPIC -DPIC .libs/anchor_points.o .libs/clas.o
.libs/classq.o .libs/classrt.o .libs/e
mi.o .libs/error.o .libs/helper.o .libs/hotswap.o .libs/idf.o .libs/inh1.o
.libs/inh.o .libs/ini1.o .libs/iniman.o
.libs/linuxdis.o .libs/linuxdl.o .libs/linuxinit.o .libs/linuxmem.o
.libs/linuxth.o .libs/ethread.o .libs/locator
s.o .libs/misc.o .libs/multiidf.o .libs/obj.o .libs/cast_obj.o
.libs/clone_obj.o .libs/objq.o .libs/poli.o .libs/p
ri1.o .libs/pri3.o .libs/pri3x.o .libs/siu.o .libs/spri3.o .libs/subsystems.o
.libs/repo.o .libs/class_mng.o .libs
/sclasses.o .libs/sclass_ex.o .libs/lea.o .libs/sys31.o -L/usr/lib32
-L/usr/lib -L/lib -L/usr/lib64 -L/lib64 -L/
home/brandon/gnu/lib -lpthread -lm -ldl -m32 -Wl,-soname -Wl,libEDMA.so.0 -o
.libs/libEDMA.so.0.0.19
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make[2]: *** [libEDMA.la] Error 1
make[2]: Leaving directory
`/home/brandon/Projects/gsrc/trunk/gnu/edma/work/gnuedma-0.18.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/brandon/Projects/gsrc/trunk/gnu/edma/work/gnuedma-0.18.6'
[build] Build failed. Exiting.
So it still can't find 32-bit libgcc, though I do have lib32-gcc-libs
installed (the 32-bit GCC libraries on Parabola; I don't know how it's
called on other systems).
So, I'm not sure how to go about fixing this. Any ideas? Or is EDMA
exclusively 32-bit?
Thanks!
Brandon Invergo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-edma] Errors building EDMA,
Brandon Invergo <=