Trying to compile smalltalk (2.3.6).

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Trying to compile smalltalk (2.3.6).

Brian Knoblauch
        Solaris 10U4 on a v250 (64-bit SPARC).  No options specified on
configure.

-----
ld: fatal: relocation error: R_SPARC_32: file
../libffi/.libs/libffi.a(v8.o): symbol <unknown>: offset 0xfe38ac32 is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../libffi/.libs/libffi.a(v8.o): symbol <unknown>: offset 0xfe38ac36 is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../libffi/.libs/libffi.a(v8.o): symbol <unknown>: offset 0xfe38ac3a is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../libffi/.libs/libffi.a(v8.o): symbol <unknown>: offset 0xfe4064d6 is
non-aligned
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libgst.la'
Current working directory
/export/home/brian/Desktop/smalltalk-2.3.6/libgst
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory
/export/home/brian/Desktop/smalltalk-2.3.6/libgst
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='lib-src lightning libffi snprintfv sigsegv  libgst i18n tcp
examples blox-tk . doc gtk tests'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/brian/Desktop/smalltalk-2.3.6
*** Error code 1
make: Fatal error: Command failed for target `all'
-----

        Let me know if you want me to try any different options, etc...

Thanks,
Brian

--
Brian Knoblauch, ITSS
DoX Systems, LLC
3454 Oak Alley Ct.
Toledo, OH 43606-1354
419-654-1607
http://www.doxsystems.com



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Trying to compile smalltalk (2.3.6).

Paolo Bonzini-2
Brian Knoblauch wrote:
> Solaris 10U4 on a v250 (64-bit SPARC).  No options specified on
> configure.

You are trying to link objects files assembled by the GNU assembler
using the Sun linker. :-)

http://readlist.com/lists/gcc.gnu.org/gcc/1/6750.html

Unfortunately, even when configure is told to use gld, somewhere down
the line, gcc eventually decides that it should use /usr/ccs/bin/ld
instead.  You need to rebuild the whole compiler if you want to switch
from the Sun tools to GNU binutils, passing --with-gnu-as --with-gnu-ld
to the configure line of GCC itself.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk