[M3devel] LINUXLIBC6 on 64 bit Hardware

Olaf Wagner wagner at elegosoft.com
Fri Jun 26 22:10:28 CEST 2009


I Installed the LINUXLIBC6 archives from Jay on birch in my home
directory without problems.

Trying to build package m3core fails at the last step with

...
fgrep m3gcdefs  
/home/wagner/cm3-LINUXLIBC6/pkg/m3core/LINUXLIBC6/.M3EXPORTS  
2>/dev/null >/dev/null
gcc -gstabs+ -m32 -fPIC -mno-align-double -z now -z origin -Bsymbolic  
-Wl,--fatal-warnings -Wl,-rpath,\$ORIGIN/../lib -Wl,--warn-common  
-Wl,-rpath,/home/wagner/cm3-LINUXLIBC6/lib    -shared  
-Wl,-soname,libm3core.so.5 -o libm3core.so.5 hand.o dtoa.o libgcc.o  
RTHooks.io RTHooks.mo RT0.io RT0.mo RuntimeError.io RuntimeError.mo  
Compiler.io Compiler.mo RTAllocator.io RTAllocator.mo RTAllocCnts.io  
RTAllocStats.io RTAllocStats.mo RTHeap.io RTHeap.mo RTHeapInfo.io  
RTHeapInfo.mo RTHeapMap.io RTHeapMap.mo RTHeapRep.io RTHeapRep.mo  
RTHeapStats.io RTHeapStats.mo RTCollector.io RTCollector.mo  
RTCollectorSRC.io RTWeakRef.io RTIO.io RTIO.mo RTLinkerX.io  
RTLinker.io RTLinker.mo RTLinkerC.o RTDebug.io RTDebug.mo RTError.io  
RTError.mo RTException.io RTException.mo RTMapOp.io RTMapOp.mo  
RTMisc.io RTMisc.mo RTModule.io RTPacking.io RTPacking.mo RTParams.io  
RTParams.mo RTProcedure.io RTProcedure.mo RTProcess.io RTProcess.mo  
RTTipe.io RTTipe.mo RTType.io RTType.mo RTTypeFP.io RTTypeFP.mo  
RTTypeMap.io RTTypeMap.mo RTutils.io RTutils.mo RTHeapDebug.io  
RTHeapDebug.mo RTArgs.io RTHeapEvent.io RTProcedureSRC.io RTSignal.io  
RTStack.io RTTypeSRC.io RTOS.io RTArgs.mo RTOS.mo RTPerfTool.io  
RTPerfTool.mo RTOSmmap.o RTThread.io RTThreadStk.mo RTSignalPrivate.io  
RTSignalC.o RTSignalC.io RTSignal.mo RTMachine.io RTThread.mo  
RTThreadC.o RTExFrame.io RTExFrame.mo RTStackC.o Thread.io  
Scheduler.io SchedulerPosix.io MutexRep.io ThreadEvent.io ThreadF.io  
ThreadPThread.io ThreadPThread.mo ThreadPThreadC.o WinBaseTypes.io  
WinDef.io WinDef.mo WinNT.io WinNT.mo WinNTc.o UtimeC.o UnixC.o  
UnixLink.o Uexec.io Uexec.o Unetdb.io Unetdb.o Umman.o Ugrp.io Ugrp.o  
Uin.o Uucontext.o Uconstants.o Uutmp.io Umman.io UstatC.o Uuio.io  
Upwd.io Uugid.io Uprocess.io Unix.io Unix.mo Utime.io Utypes.io  
Uerror.io Upthread.io Usched.io Usocket.io Usocket.o Ustat.io Udir.io  
UdirC.o Usysdep.io Usignal.io Uucontext.io Upthreadtypes.io Uin.io  
Cerrno.io Cstddef.io Cstdint.io Cstdlib.io Ctypes.io M3toC.io M3toC.mo  
CerrnoC.o Cstring.io Cstdio.io Csignal.io Csetjmp.io BasicCtypes.io  
RealFloat.io LongFloat.io ExtendedFloat.io IEEESpecial.io  
IEEESpecial.mo Real.mo LongReal.mo Extended.mo DragonInt.io  
DragonInt.mo DragonT.io DragonT.mo Real.io LongReal.io Extended.io  
RealFloat.mo LongFloat.mo ExtendedFloat.mo RealRep.io LongRealRep.io  
FPU.io FPU.mo FloatMode.io FloatMode.mo Time.io Tick.io Date.io  
FmtTime.io FmtTime.mo TickPortable.mo DateBsd.mo TimePosix.io  
TimePosix.mo CConvert.io CConvert.mo Convert.io Convert.mo String8.io  
String8.mo String16.io String16.mo Text.io Text.mo TextClass.io  
TextClass.mo TextLiteral.io TextLiteral.mo Text8.io Text8.mo  
Text8Short.io Text8Short.mo Text8CString.io Text8CString.mo Text16.io  
Text16.mo Text16Short.io Text16Short.mo TextSub.io TextSub.mo  
TextCat.io TextCat.mo TextConv.io TextConv.mo Fingerprint.io  
Fingerprint.mo Poly.io Poly.mo PolyBasis.io PolyBasis.mo Main.io  
WeakRef.io WeakRef.mo WordRep.io Word.io LongRep.io Long.io Word.mo  
Long.mo  -lm -lpthread
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
   make_lib => 1
librarian failed building: m3core
Fatal Error: package build failed
rm m3make.args
cd ..
birch [~/work/cm3] wagner
% type gcc
gcc is /usr/bin/gcc
birch [~/work/cm3] wagner
% gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v  
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr  
--enable-shared --with-system-zlib --libexecdir=/usr/lib  
--without-included-gettext --enable-threads=posix --enable-nls  
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu  
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release  
x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

I don't see gcc_s in the link command, and on birch there _is_
/lib/libgcc_s.so.1

Any ideas?

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list