Tcl Source Code

Artifact [2644d82d01]
Login

Artifact 2644d82d01799f8b97697ca529860ba045c2ca51:

Ticket change [2644d82d01] - New ticket [2f7cbd01c3] tcl8.6.1 fails to build on FreeBSD 10.0. by anonymous 2014-03-07 03:04:33.
D 2014-03-07T03:04:33.953
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment On\sa\sFreeBSD\s10.0\ssystem,\sI\sattempted\sto\sbuild\stcl8.6.1\sin\sthe\susual\sway,\sin\sa\ssubdirectory\sof\stcl8.6.1/unix:\r\n\r\n\s\s\s\s../configure\r\n\s\s\s\smake\r\n\r\nThis\sfailed\sbecause\sthe\sbuild\screated\slibtcl86.so.1,\sbut\sthen\sattempted\sto\slink\swith\s-ltcl86:\r\n\r\nrm\s-f\slibtcl86.so.1\r\ncc\s-shared\s-o\slibtcl86.so.1\sregcomp.o\sregexec.o\sregfree.o\sregerror.o\stclAlloc.o\s\stclAssembly.o\stclAsync.o\stclBasic.o\stclBinary.o\stclCkalloc.o\s\stclClock.o\stclCmdAH.o\stclCmdIL.o\stclCmdMZ.o\s\stclCompCmds.o\stclCompCmdsGR.o\stclCompCmdsSZ.o\stclCompExpr.o\s\stclCompile.o\stclConfig.o\stclDate.o\stclDictObj.o\s\stclEncoding.o\stclEnsemble.o\s\stclEnv.o\stclEvent.o\stclExecute.o\stclFCmd.o\stclFileName.o\stclGet.o\s\stclHash.o\stclHistory.o\stclIndexObj.o\stclInterp.o\stclIO.o\stclIOCmd.o\s\stclIORChan.o\stclIORTrans.o\stclIOGT.o\stclIOSock.o\stclIOUtil.o\s\stclLink.o\stclListObj.o\s\stclLiteral.o\stclLoad.o\stclMain.o\stclNamesp.o\stclNotify.o\s\stclObj.o\stclOptimize.o\stclPanic.o\stclParse.o\stclPathObj.o\stclPipe.o\s\stclPkg.o\stclPkgConfig.o\stclPosixStr.o\s\stclPreserve.o\stclProc.o\stclRegexp.o\s\stclResolve.o\stclResult.o\stclScan.o\stclStringObj.o\s\stclStrToD.o\stclThread.o\s\stclThreadAlloc.o\stclThreadJoin.o\stclThreadStorage.o\stclStubInit.o\s\stclTimer.o\stclTrace.o\stclUtf.o\stclUtil.o\stclVar.o\stclZlib.o\s\stclTomMathInterface.o\stclUnixChan.o\stclUnixEvent.o\stclUnixFCmd.o\s\stclUnixFile.o\stclUnixPipe.o\stclUnixSock.o\s\stclUnixTime.o\stclUnixInit.o\stclUnixThrd.o\s\stclUnixCompat.o\stclUnixNotfy.o\s\s\stclOO.o\stclOOBasic.o\stclOOCall.o\stclOODefineCmds.o\stclOOInfo.o\s\stclOOMethod.o\stclOOStubInit.o\stclLoadDl.o\sbncore.o\sbn_reverse.o\sbn_fast_s_mp_mul_digs.o\s\sbn_fast_s_mp_sqr.o\sbn_mp_add.o\sbn_mp_and.o\s\sbn_mp_add_d.o\sbn_mp_clamp.o\sbn_mp_clear.o\sbn_mp_clear_multi.o\s\sbn_mp_cmp.o\sbn_mp_cmp_d.o\sbn_mp_cmp_mag.o\s\sbn_mp_cnt_lsb.o\sbn_mp_copy.o\s\sbn_mp_count_bits.o\sbn_mp_div.o\sbn_mp_div_d.o\sbn_mp_div_2.o\s\sbn_mp_div_2d.o\sbn_mp_div_3.o\s\sbn_mp_exch.o\sbn_mp_expt_d.o\sbn_mp_grow.o\sbn_mp_init.o\s\sbn_mp_init_copy.o\sbn_mp_init_multi.o\sbn_mp_init_set.o\s\sbn_mp_init_set_int.o\sbn_mp_init_size.o\sbn_mp_karatsuba_mul.o\s\sbn_mp_karatsuba_sqr.o\s\sbn_mp_lshd.o\sbn_mp_mod.o\sbn_mp_mod_2d.o\sbn_mp_mul.o\sbn_mp_mul_2.o\s\sbn_mp_mul_2d.o\sbn_mp_mul_d.o\sbn_mp_neg.o\sbn_mp_or.o\s\sbn_mp_radix_size.o\sbn_mp_radix_smap.o\s\sbn_mp_read_radix.o\sbn_mp_rshd.o\sbn_mp_set.o\sbn_mp_set_int.o\s\sbn_mp_shrink.o\s\sbn_mp_sqr.o\sbn_mp_sqrt.o\sbn_mp_sub.o\sbn_mp_sub_d.o\s\sbn_mp_to_unsigned_bin.o\sbn_mp_to_unsigned_bin_n.o\s\sbn_mp_toom_mul.o\sbn_mp_toom_sqr.o\sbn_mp_toradix_n.o\s\sbn_mp_unsigned_bin_size.o\sbn_mp_xor.o\sbn_mp_zero.o\sbn_s_mp_add.o\s\sbn_s_mp_mul_digs.o\sbn_s_mp_sqr.o\sbn_s_mp_sub.o\s-Wl,-soname=libtcl86.so.1\s-lz\s-lpthread\s-lm\s\s-Wl,-rpath,/usr/local/lib\r\ncc\s-c\s-DNDEBUG\s-O2\s\s-pipe\s-fvisibility=hidden\s-Wall\s-fPIC\s-DBUILD_tcl\s\s-I"."\s-I/usr0/dws/tcltk/src/tcl8.6.1/unix\s-I/usr0/dws/tcltk/src/tcl8.6.1/generic\s-I/usr0/dws/tcltk/src/tcl8.6.1/libtommath\s\s-DPACKAGE_NAME=\\"tcl\\"\s-DPACKAGE_TARNAME=\\"tcl\\"\s-DPACKAGE_VERSION=\\"8.6\\"\s-DPACKAGE_STRING=\\"tcl\\\s8.6\\"\s-DPACKAGE_BUGREPORT=\\"\\"\s-DSTDC_HEADERS=1\s-DHAVE_SYS_TYPES_H=1\s-DHAVE_SYS_STAT_H=1\s-DHAVE_STDLIB_H=1\s-DHAVE_STRING_H=1\s-DHAVE_MEMORY_H=1\s-DHAVE_STRINGS_H=1\s-DHAVE_INTTYPES_H=1\s-DHAVE_STDINT_H=1\s-DHAVE_UNISTD_H=1\s-DNO_VALUES_H=1\s-DHAVE_LIMITS_H=1\s-DHAVE_SYS_PARAM_H=1\s-DUSE_THREAD_ALLOC=1\s-D_REENTRANT=1\s-D_THREAD_SAFE=1\s-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1\s-DHAVE_PTHREAD_ATFORK=1\s-DTCL_THREADS=1\s-DTCL_CFGVAL_ENCODING=\\"iso8859-1\\"\s-DHAVE_ZLIB=1\s-DMODULE_SCOPE=extern\s-DHAVE_CAST_TO_UNION=1\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-DHAVE_SYS_IOCTL_H=1\s-DHAVE_SYS_FILIO_H=1\s-DTCL_UNLOAD_DLLS=1\s-DHAVE_CPUID=1\s\s\s\s\s/usr0/dws/tcltk/src/tcl8.6.1/unix/tclAppInit.c\r\ncc\s-DNDEBUG\s-O2\s\s-pipe\s-fvisibility=hidden\s\stclAppInit.o\s\s-L/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10\s-ltcl86\slibtclstub86.a\s-lz\s-lpthread\s-lm\s\s\s-Wl,-rpath,/usr/local/lib\s-o\stclsh\r\n/usr/bin/ld:\scannot\sfind\s-ltcl86\r\n\r\n\r\nBased\son\swhat\sI\ssaw\sin\sthe\sbase\sOS\sinstall,\sI\sstrongly\ssuspected\sthat\swe\scould\sdispense\swith\sboth\sthe\s".1"\son\sthe\sshared\slibrary\ssuffix,\sand\salso\swith\sthe\swhole\sTCL_TRIM_DOTS\sidiom\saltogether,\sso\sI\stried\sthis\schange:\r\n\r\n:\spa-bsd-6a;\sdiff\s-u\s../configure\s../configure.freebsd\r\n---\s../configure\s\s\s\s\s\s\s\s2013-09-19\s16:17:13.000000000\s-0400\r\n+++\s../configure.freebsd\s\s\s\s\s\s\s\s2014-03-06\s21:39:10.000000000\s-0500\r\n@@\s-7829,10\s+7829,10\s@@\r\n\sfi\r\n\r\n\s\s\s\s\s\s\s\s\s\s\s\s#\sVersion\snumbers\sare\sdot-stripped\sby\ssystem\spolicy.\r\n-\s\s\s\s\s\s\s\s\s\s\sTCL_TRIM_DOTS=`echo\s${VERSION}\s|\str\s-d\s.`\r\n-\s\s\s\s\s\s\s\s\s\s\sUNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'\r\n-\s\s\s\s\s\s\s\s\s\s\sSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\\$\\{DBGX\\}.so.1'\r\n-\s\s\s\s\s\s\s\s\s\s\sTCL_LIB_VERSIONS_OK=nodots\r\n+\s\s\s\s\s\s\s\s\s\s\s#\sTCL_TRIM_DOTS=`echo\s${VERSION}\s|\str\s-d\s.`\r\n+\s\s\s\s\s\s\s\s\s\s\s#\sUNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'\r\n+\s\s\s\s\s\s\s\s\s\s\s#\sSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\\$\\{DBGX\\}.so.1'\r\n+\s\s\s\s\s\s\s\s\s\s\s#\sTCL_LIB_VERSIONS_OK=nodots\r\n\s\s\s\s\s\s\s\s\s\s\s\s;;\r\n\s\s\s\s\s\s\s\sDarwin-*)\r\n\s\s\s\s\s\s\s\s\s\s\s\sCFLAGS_OPTIMIZE="-Os"\r\n\r\n\r\nWith\sthe\sabove\schange\sin\splace,\sthe\sbuild\sproceeds\sabout\s800\scommands\sfurther,\sbut\sfails\sto\sfind\sa\sdifferent\slibrary:\r\n\r\nrm\s-f\slibtdbcmysql.so.1\r\ncc\s-shared\s-o\slibtdbcmysql.so.1\stdbcmysql.o\smysqlStubInit.o\s-L/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10/pkgs/tdbc1.0.0\s-ltdbcstub100\s-L/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10/pkgs/tdbc1.0.0\s-ltdbcstub100\s-L/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10\s-ltclstub8.6\r\n/usr/bin/ld:\scannot\sfind\s-ltdbcstub100\r\n\r\nWhat\sthe\sbuild\shas\screated\sin\sthis\scase\sis\slibtdbcstub.a,\sbut\ssubsequent\sparts\sof\sthe\sbuild\sare\sattempting\sto\slink\swith\s-ltdbcstub100.\r\n\r\nThere\sis\sevidence\sof\sthis\sin\spkgs/tdbc1.0.0/tdbcConfig.sh:\r\n\r\n$\sgrep\stdbcstub\spkgs/tdbc1.0.0/tdbcConfig.sh\r\ntdbc_STUB_LIB_FILE="libtdbcstub.a"\r\nTDBC_STUB_LIB_FILE="libtdbcstub.a"\r\ntdbc_BUILD_STUB_LIB_SPEC="-L/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10/pkgs/tdbc1.0.0\s-ltdbcstub100"\r\nTDBC_BUILD_STUB_LIB_SPEC="-L/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10/pkgs/tdbc1.0.0\s-ltdbcstub100"\r\ntdbc_STUB_LIB_SPEC="-L/usr/local/lib/tdbc1.0.0\s-ltdbcstub100"\r\nTDBC_STUB_LIB_SPEC="-L/usr/local/lib/tdbc1.0.0\s-ltdbcstub100"\r\ntdbc_BUILD_STUB_LIB_PATH="/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10/pkgs/tdbc1.0.0/libtdbcstub.a"\r\nTDBC_BUILD_STUB_LIB_PATH="/usr0/dws/tcltk/src/tcl8.6.1/unix/x64_fbsd10/pkgs/tdbc1.0.0/libtdbcstub.a"\r\ntdbc_STUB_LIB_PATH="/usr/local/lib/tdbc1.0.0/libtdbcstub.a"\r\nTDBC_STUB_LIB_PATH="/usr/local/lib/tdbc1.0.0/libtdbcstub.a"\r\n\r\nAt\sthis\spoint\sI\sdecided\sto\sgive\sup\sand\sreport\sthe\sproblem\s:)
J foundin 8.6.1
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 2f8ec2358fa4ef4cf741b61c0d997aed283680e5
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 53.\sConfigure\sand\sBuild\sTools
J title tcl8.6.1\sfails\sto\sbuild\son\sFreeBSD\s10.0
J type Bug
K 2f7cbd01c30ab9417bcff4053c88c169345add05
U anonymous
Z a2c968f02bee76d269b1155ea5afdbaa