Hi Friends

At this time is not possible to cross-emerge any version of tcl for sh4 
embedded gentoo system, from portage.

The stable version failed with:
sh4-pc-linux-uclibc-gcc -pipe -c -Os -pipe -Wall -Wno-implicit-int 
-fno-strict-aliasing -fPIC -I./../generic -I. -DPEEK_XCLOSEIM=1 
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ 
long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 
-DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 
-DHAVE_WAITPID=1 -DNO_GETWD=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 
-DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1        
-DTCL_SHLIB_EXT=\".so\" ./../compat/strstr.c
./../compat/strstr.c: In function `strstr':
./../compat/strstr.c:67: error: `NULL' undeclared (first use in this function)
./../compat/strstr.c:67: error: (Each undeclared identifier is reported only 
once
./../compat/strstr.c:67: error: for each function it appears in.)
make: *** [strstr.o] Error 1


Any other unmasked version fails with:
sh4-pc-linux-uclibc-gcc -pipe -shared -o libtcl8.4.so regcomp.o regexec.o 
regfree.o regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o 
tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o 
tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o 
tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o 
tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o 
tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o 
tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o 
tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o 
tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o 
tclThreadAlloc.o tclThreadJoin.o tclStubInit.o tclStubLib.o tclTimer.o 
tclUtf.o tclUtil.o tclVar.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o 
tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o 
tclUnixThrd.o  tclUnixNotfy.o memcmp.o strstr.o strtoul.o strtod.o 
fixstrtod.o tclLoadDl.o  -ldl  -lm   -Wl,-rpath,/usr/lib
fixstrtod.o: In function `fixstrtod':
fixstrtod.c:(.text+0x0): multiple definition of `fixstrtod'
strtod.o:strtod.c:(.text+0x0): first defined here
/usr/libexec/gcc/sh4-pc-linux-uclibc/ld: Warning: size of symbol `fixstrtod' 
changed from 560 in strtod.o to 72 in fixstrtod.o
collect2: ld returned 1 exit status
make: *** [libtcl8.4.so] Error 1


Thank you

Jakub Ladman
-- 
[email protected] mailing list

Reply via email to