Discussion:
[Gc] libtool: error: 'libatomic_ops/src/atomic_ops_sysdeps.lo' is not a valid libtool object
(too old to reply)
Dennis Clarke
2016-11-21 14:53:40 UTC
Permalink
Raw Message
Far better progress once I get away from C99 and -Xc CFLAGS options with
-D_XOPEN_SOURCE etc etc. However the process fails during the
compile :

/usr/local/bin/bash ./libtool --tag=CC --mode=link
/opt/solarisstudio12.4/bin/cc -m64 -xtarget=ultra2 -xarch=sparcvis
-xchip=ultra2 -xcache=generic -errwarn=%none -errhdr=%user -erroff=%none
-errtags=yes -errfmt=error -errshort=full -xstrconst -xildoff
-xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc
-g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1
-D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
-version-info 1:3:0 -no-undefined -L/usr/local/lib -o libgc.la -rpath
/usr/local/lib allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo
dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo mach_dep.lo
malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo
os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo
specific.lo stubborn.lo thread_local_alloc.lo typd_mlc.lo
pthread_start.lo pthread_support.lo pthread_stop_world.lo fnlz_mlc.lo
libatomic_ops/src/atomic_ops_sysdeps.lo sparc_mach_dep.lo
-L/usr/lib/lwp/ -R/usr/lib/lwp/ -lpthread -lrt -ldl
libtool: error: 'libatomic_ops/src/atomic_ops_sysdeps.lo' is not a
valid libtool object
gmake[1]: *** [libgc.la] Error 1
gmake[1]: Leaving directory
`/usr/local/build/garbage_collector/gc-7.6.0_SunOS5.10_sparcv9.002'
gmake: *** [all-recursive] Error 1


Well the file does not even exist :

mimas$ ls -lap libatomic_ops/src/atomic_ops_sys*
-rw-r--r-- 1 dclarke devl 306 May 24 2016
libatomic_ops/src/atomic_ops_sysdeps.S


So there's the problem.

Is there some manual sequence of steps to perform with libatomic_ops
before attempting a compile of gc 7.6.0 ?


Dennis Clarke

Loading...