[Clfs-support] eglibc and atlas problem on c{b}lfs
bv
bvl at btconnect.com
Fri Apr 1 19:39:54 PDT 2011
On Wednesday 30 March 2011 19:22:37 bv wrote:
> Greetings,
>
> I seem to have run up against linker problems on a newly minted cblfs setup
> regarding latter versions of atlas3.9.3x.
> Th cblfs setup is derived from a new clfs build.
> #########--(C) first reported error ############ ~ probably ~ 25% the
> wway of a complete buildhalf way
> gcc -DL2SIZE=4194304 -I~/ATLAS/build/include -I~/ATLAS/build/..//include -
> I~/ATLAS/build/..//include/contrib -DAdd_ -DF77_INTEGER=int
> -DStringSunStyle - DATL_OS_Linux -DATL_ARCH_AMD64K10h -DATL_CPUMHZ=2693
> -DATL_SSE3 -DATL_SSE2 - DATL_SSE1 -DATL_3DNow -DATL_USE64BITS
> -DATL_GAS_x8664 -DPentiumCPS=2900 - DATL_DYLIBS -DATL_FULL_LAPACK
> -fomit-frame-pointer -mfpmath=sse -msse3 -O2 - falign-loops=32 -fPIC -m64
> -fPIC -o xfindNT findNT.o ATL_walltime.o -lm
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../lib/crt1.o: In
> function `_start':
> /sources-28810/eglibc-2.12/csu/../sysdeps/x86_64/elf/start.S:109: undefined
> reference to `main'
> collect2: ld returned 1 exit status
> make[4]: *** [xfindNT] Error 1
> make[4]: Leaving directory `~/ATLAS/build/tune/sysinfo'
> make[3]: *** [~/ATLAS/build/include/atlas_pthreads.h] Error 2
> make[3]: Leaving directory `~/ATLAS/build/src/auxil'
> make[2]: *** [IBuildPtlibs0] Error 2
> this line
> function `_start':
> /sources-28810/eglibc-2.12/csu/../sysdeps/x86_64/elf/start.S:109: undefined
> reference to `main'
>
> referes to the the source tree of glibc which was built in a dedicated
> directory out of the source tree.
#-------------
the problem is glibc. And I may have tracked down its source. It is in the
clfs build. I decided to rebuild clfs and I reached elibc-2.12 specifically
this page:-
http://cross-lfs.org/view/svn/x86_64-64/final-system/eglibc.html
AND I have done this :
cp -v ../eglibc-2.12/iconvdata/gconv-modules iconvdata
make -k check >eglibc-check-log 2>&1 ; grep Error eglibc-check-log
and this is the result:-
`../eglibc-2.12/iconvdata/gconv-modules' -> `iconvdata/gconv-modules'
make[2]: [~/eglibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [~/eglibc-build/rt/tst-cputimer1.out] Error 1
make[1]: *** [rt/tests] Error 2
make: *** [check] Error 2
advice would be appreciated
sincerely
bv
More information about the Clfs-support
mailing list