Opened 14 years ago

Closed 12 years ago

Last modified 8 months ago

#26102 closed defect (fixed)

clisp 2.48 link fails during build

Reported by: snowflake (Dave Evans) Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: easye
Port: clisp

Description

Snow Leopard 10.6.4 64-bit

Xcode 3.2 (10M2262)

The last two errors are here

ld -r -o lisp.o gllib/uniwidth/width.o gllib/uniname/uniname.o gllib/localcharset.o spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o unixaux.o built.o ari80386.o
chmod a-x lisp.o
if test -f `/usr/bin/gcc-4.2 -arch i386 -print-libgcc-file-name`  ; then mkdir libgcc ; (cd libgcc ; ar xv `/usr/bin/gcc-4.2 -arch i386 -print-libgcc-file-name` ) ; ar rcv lisp.a lisp.o libgcc/*.o* ; rm -f -r libgcc ; else ar rcv lisp.a lisp.o ; fi
x - __.SYMDEF SORTED
x - _get_pc_thunk_ax.o
x - _get_pc_thunk_dx.o
x - _get_pc_thunk_cx.o
x - _get_pc_thunk_bx.o
x - _get_pc_thunk_si.o
x - _get_pc_thunk_di.o
x - _get_pc_thunk_bp.o
x - _muldi3.o
x - _negdi2.o
x - _lshrdi3.o
x - _ashldi3.o
x - _ashrdi3.o
x - _cmpdi2.o
x - _ucmpdi2.o
x - _clear_cache.o
x - _enable_execute_stack.o
x - _trampoline.o
x - __main.o
x - _absvsi2.o
x - _absvdi2.o
x - _addvsi3.o
x - _addvdi3.o
x - _subvsi3.o
x - _subvdi3.o
x - _mulvsi3.o
x - _mulvdi3.o
x - _negvsi2.o
x - _negvdi2.o
x - _ctors.o
x - _ffssi2.o
x - _ffsdi2.o
x - _clz.o
x - _clzsi2.o
x - _clzdi2.o
x - _ctzsi2.o
x - _ctzdi2.o
x - _popcount_tab.o
x - _popcountsi2.o
x - _popcountdi2.o
x - _paritysi2.o
x - _paritydi2.o
x - _powisf2.o
x - _powidf2.o
x - _powixf2.o
x - _powitf2.o
x - _mulsc3.o
x - _muldc3.o
x - _mulxc3.o
x - _multc3.o
x - _divsc3.o
x - _divdc3.o
x - _divxc3.o
x - _divtc3.o
x - _bswapsi2.o
x - _bswapdi2.o
x - _fixunssfsi.o
x - _fixunsdfsi.o
x - _fixunsxfsi.o
x - _fixsfdi.o
x - _fixsfti.o
x - _fixunssfdi.o
x - _fixunssfti.o
x - _floatdisf.o
x - _floattisf.o
x - _floatundisf.o
x - _floatuntisf.o
x - _fixdfdi.o
x - _fixdfti.o
x - _fixunsdfdi.o
x - _fixunsdfti.o
x - _floatdidf.o
x - _floattidf.o
x - _floatundidf.o
x - _floatuntidf.o
x - _fixxfdi.o
x - _fixxfti.o
x - _fixunsxfdi.o
x - _fixunsxfti.o
x - _floatdixf.o
x - _floattixf.o
x - _floatundixf.o
x - _floatuntixf.o
x - _fixtfdi.o
x - _fixtfti.o
x - _fixunstfdi.o
x - _fixunstfti.o
x - _floatditf.o
x - _floattitf.o
x - _floatunditf.o
x - _floatuntitf.o
x - _eprintf.o
x - __gcc_bcmp.o
x - _divdi3.o
x - _moddi3.o
x - _udivdi3.o
x - _umoddi3.o
x - _udiv_w_sdiv.o
x - _udivmoddi4.o
x - darwin-64.o
/usr/bin/ranlib: object: lisp.a(lisp.o) malformed object (LC_SEGMENT command 0 filesize field greater than vmsize field)
ar: internal ranlib command failed
a - lisp.o
a - libgcc/__gcc_bcmp.o
a - libgcc/__main.o
a - libgcc/_absvdi2.o
a - libgcc/_absvsi2.o
a - libgcc/_addvdi3.o
a - libgcc/_addvsi3.o
a - libgcc/_ashldi3.o
a - libgcc/_ashrdi3.o
a - libgcc/_bswapdi2.o
a - libgcc/_bswapsi2.o
a - libgcc/_clear_cache.o
a - libgcc/_clz.o
a - libgcc/_clzdi2.o
a - libgcc/_clzsi2.o
a - libgcc/_cmpdi2.o
a - libgcc/_ctors.o
a - libgcc/_ctzdi2.o
a - libgcc/_ctzsi2.o
a - libgcc/_divdc3.o
a - libgcc/_divdi3.o
a - libgcc/_divsc3.o
a - libgcc/_divtc3.o
a - libgcc/_divxc3.o
a - libgcc/_enable_execute_stack.o
a - libgcc/_eprintf.o
a - libgcc/_ffsdi2.o
a - libgcc/_ffssi2.o
a - libgcc/_fixdfdi.o
a - libgcc/_fixdfti.o
a - libgcc/_fixsfdi.o
a - libgcc/_fixsfti.o
a - libgcc/_fixtfdi.o
a - libgcc/_fixtfti.o
a - libgcc/_fixunsdfdi.o
a - libgcc/_fixunsdfsi.o
a - libgcc/_fixunsdfti.o
a - libgcc/_fixunssfdi.o
a - libgcc/_fixunssfsi.o
a - libgcc/_fixunssfti.o
a - libgcc/_fixunstfdi.o
a - libgcc/_fixunstfti.o
a - libgcc/_fixunsxfdi.o
a - libgcc/_fixunsxfsi.o
a - libgcc/_fixunsxfti.o
a - libgcc/_fixxfdi.o
a - libgcc/_fixxfti.o
a - libgcc/_floatdidf.o
a - libgcc/_floatdisf.o
a - libgcc/_floatditf.o
a - libgcc/_floatdixf.o
a - libgcc/_floattidf.o
a - libgcc/_floattisf.o
a - libgcc/_floattitf.o
a - libgcc/_floattixf.o
a - libgcc/_floatundidf.o
a - libgcc/_floatundisf.o
a - libgcc/_floatunditf.o
a - libgcc/_floatundixf.o
a - libgcc/_floatuntidf.o
a - libgcc/_floatuntisf.o
a - libgcc/_floatuntitf.o
a - libgcc/_floatuntixf.o
a - libgcc/_get_pc_thunk_ax.o
a - libgcc/_get_pc_thunk_bp.o
a - libgcc/_get_pc_thunk_bx.o
a - libgcc/_get_pc_thunk_cx.o
a - libgcc/_get_pc_thunk_di.o
a - libgcc/_get_pc_thunk_dx.o
a - libgcc/_get_pc_thunk_si.o
a - libgcc/_lshrdi3.o
a - libgcc/_moddi3.o
a - libgcc/_muldc3.o
a - libgcc/_muldi3.o
a - libgcc/_mulsc3.o
a - libgcc/_multc3.o
a - libgcc/_mulvdi3.o
a - libgcc/_mulvsi3.o
a - libgcc/_mulxc3.o
a - libgcc/_negdi2.o
a - libgcc/_negvdi2.o
a - libgcc/_negvsi2.o
a - libgcc/_paritydi2.o
a - libgcc/_paritysi2.o
a - libgcc/_popcount_tab.o
a - libgcc/_popcountdi2.o
a - libgcc/_popcountsi2.o
a - libgcc/_powidf2.o
a - libgcc/_powisf2.o
a - libgcc/_powitf2.o
a - libgcc/_powixf2.o
a - libgcc/_subvdi3.o
a - libgcc/_subvsi3.o
a - libgcc/_trampoline.o
a - libgcc/_ucmpdi2.o
a - libgcc/_udiv_w_sdiv.o
a - libgcc/_udivdi3.o
a - libgcc/_udivmoddi4.o
a - libgcc/_umoddi3.o
a - libgcc/darwin-64.o
rm -f lisp.o
ranlib lisp.a
ranlib: object: lisp.a(lisp.o) malformed object (LC_SEGMENT command 0 filesize field greater than vmsize field)
make: *** [lisp.a] Error 1
shell command "cd /opt/local/var/macports/build/_Users_davidevans_macports_svn-repo_macports-trunk_dports_lang_clisp/work/clisp-2.48/src && ulimit -s 16384 &&  unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP &&  make" returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
Warning: the following items did not execute (for clisp): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for clisp is at: /opt/local/var/macports/logs/_Users_davidevans_macports_svn-repo_macports-trunk_dports_lang_clisp/main.log

Change History (6)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: waqar@… removed
Owner: changed from macports-tickets@… to waqar@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Cc: easieste@… added

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Is this still a problem with 2.49?

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

No response; assuming fixed.

comment:5 Changed 8 months ago by catap (Kirill A. Korinsky)

Yes, it still achievable. The root cause of issue is cctools' ranlib.

comment:6 Changed 8 months ago by catap (Kirill A. Korinsky)

In 52b2fc9dac510bdfa519f75fe856a414125dc972/macports-ports (master):

clisp: fix build on old system with installed cctools

Closes: #26102

Note: See TracTickets for help on using tickets.