<i>Building of head on HPUX is broken when using the native CC</i> status still Open with 4 other changes
by
.
D 2009-01-23T06:22:07
J icomment I\shave\sto\sask\sa\sbit\smore.\nMainly.\swhat\schanges\swere\smade\sfor\sHPUX\sbetween\s8.5\sand\s8.6,\sand\swhy\s?\n\nThe\sproblem\swhich\sI\sfixed\slocally\swith\s-L/lib/hpux64\sseems\sto\sbe\stied\sto\sa\ncc/ld\schange\swhich\swas\smade\sfor\s8.6.\n\nThusly:\n*\sI\scompiled\s8.5\sand\s8.6\sand\scompared.\n*\sBoth\sthere\shead\sof\stheir\sbranches.\n*\sBoth\swere\sconfigured\sthe\ssame:\sUse\sthe\snative\sHPUX\scc,\sand\s--enable-64bit.\n\nResults\n*\sTcl\s8.5\score\suses\s'ld\s-b\s...\s+s\s+b\sxxx-path:.'\sto\slink\sthe\slibtcl.so.\sThis\sworks.\n*\sTcl\s8.6\score\suses\s'cc\s-b\s...\s-Wl,+s,+b,xxx-path:.'\sto\slink\sthe\slibtcl.so.\sThis\sFAILS.\n*\sThe\sreported\sfailure\sis\s"ld:\sCan't\sfind\slibrary\sor\smismatched\sABI\sfor\s-ldld".\n*\sAdding\s-L/lib/hpux64\sfixes\sthe\sissue\sfor\s8.6.\sthat\sis\swhat\sI\sdid\sfor\sthe\sActiveTcl\sbuilds\sto\skeep\sgoing.\n*\sUsing\sthe\s8.5\slink\sline\sfor\s8.6,\sinstead\sof\sadding\s-L...\sfixes\sthe\sproblem\sas\swell.\n\nI\sam\snow\ssuspecting\sthat\susing\sthe\s'cc'\sas\slinker\sis\sill-advised,\sit\sseems\sto\splay\swith\sthe\ssearch\spaths\sto\suse,\swhixch\scan\sbe\scompensated\sfor\swith\san\sexplicit\s-L.\n\nGiven\sthat\sI\swould\sreally\slike\sto\sknow\sthe\smotivations\sbehind\sthe\schanges\smade\sfor\sHPUX.\nLooking\sthrough\sthe\sfile\sannotations\sit\sseems\sthat\sthis\swas\sintroduced\sby\srev\s1.199.\nhttp://tcl.cvs.sourceforge.net/viewvc/tcl/tcl/unix/tcl.m4?r1=1.198&r2=1.199\n\nThe\srelevant\scomment\sfor\sthe\spatch\sis\s'fix\sfor\sbug\s[2073255]'.\nAnd\sthe\sbug\sin\squestion\sis\sabout\shaving\sto\sadd\sa\s+z\ssomewhere.\n\nThe\schange\sld\s->\scc\sis\snot\sdocumented\sand\sseems\sto\shave\sno\srelation\sto\sthe\sbug.\nI.e.\sit\scomes\sa\sbit\sout\sof\sleft\sfield.\n\nActually,\slooking\sat\sthe\sreferenced\sbug\sand\soriginal\spatch\s...\sThe\scomment\ssays\swe\sneed\sto\sa\s"+z"\soption\sto\sCFLAGS,\sand\sthe\sproposed\spatch\sthan\sadd\s"-z"\sinstead\s(plus\svs\sminus!).\nThen\sit\sgets\srestructured\sto\shandle\sGCC,\sand\sat\sthat\spoint\sthe\sld\s->\scc\schange\sis\smade\sas\swell.\n\nOh,\sand\swe\sstill\shave\sthe\s"-z"\sfloating\saround,\salthough\sa\sfew\slines\slater\s"+z"\sis\sactually\sadded\sas\swell.\sThat\sexplains\sanother\sdifference\sI\ssaw\sin\sthe\smake\slog\sof\s8.5\svs\s8.6.\n\nTcl\s85:\scc\s\s\s\s\s+DD64\s+z\nTcl\s86:\scc\s-z\s+DD64\s+z\n\nThe\s-z\sis\sadded\sto\sCFLAGS,\sthe\s+z\sadded\sto\sSHLIB_CFLAGS.\nLines\s1282\sand\s1285\sin\sthe\sHEAD\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 2502365fffffffffffffffffffffffffffffffff
U andreas_kupries
Z ca826dd8ed1fb658c8990b9bc0e1b63a