[Aldor-l] Distributing Aldor

Bill Page bill.page at newsynthesis.org
Wed Sep 10 00:54:54 EDT 2008


On Wed, Sep 10, 2008 at 12:12 AM, Bill Page wrote:
> Pippijn,
>

Here is really is the update on my attempt to build Aldor on my
Solaris 10.2 x86 system. After making a better attept to get the right
combinations of yacc (bison) and gcc and ld. The problem in this case
seems to be ld. configure chooses to use '/usr/ccs/bin/ld' even though
it did not exist (I renamed it to ld-old early after setting up the
system. /usr/ccs/bin/ld is actually a symbolic link to a newer load
program.

Part of the confusion here is because this Solaris system is
configured with Gnu Blastwave tool chain. Configure scripts sometimes
make the wrong assumption based on too little information and
cross-checking.

Regards,
Bill Page.


  [store: Memory manager to use]                                           btree
  [store: Enable debug display]                                            no
  [store: Keep use statistics]                                             no
  [store: Use storage exception handling]                                  no
  [store: Trace allocations and deallocations]                             no
  [store: Storage certification]                                           no
  [store: Use memory climates]                                             no
  [store: Enable blacklisting in the memory manager]                       no
  [store: Use lookup table]                                                yes
  [store: Pattern written over new memory]                                 AAAA
  [store: Pattern written over old memory]                                 DDDD

---------------------------------------------

-bash-3.00$ make prepare
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/strings/scalar.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/functional/callback.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/is_one_of.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/is_fun_compatible.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/is_compatible.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/make_signed.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/purify.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/operators.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/typelist.h
    EXPAND     /export/home0/wspage/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits.h
      YACC     /export/home0/wspage/aldor-1.1.0-1/src/zacc/zaccgram.c
        CC     /export/home0/wspage/aldor-1.1.0-1/src/zacc/zaccgram.s
cc: Warning: option -2 passed to ld
cc: Warning: option -0 passed to ld
cc: Warning: option -3 passed to ld
cc: Warning: illegal option -db3
        AS     /export/home0/wspage/aldor-1.1.0-1/src/zacc/zaccgram.o
       LEX     /export/home0/wspage/aldor-1.1.0-1/src/zacc/zaccscan.c
cc: Warning: option -2 passed to ld
cc: Warning: option -0 passed to ld
cc: Warning: option -3 passed to ld
cc: Warning: illegal option -db3
cc: Warning: option -2 passed to ld
cc: Warning: option -0 passed to ld
cc: Warning: option -3 passed to ld
cc: Warning: illegal option -db3
cc: Warning: option -2 passed to ld
cc: Warning: option -0 passed to ld
cc: Warning: option -3 passed to ld
cc: Warning: illegal option -db3
"/export/home0/wspage/aldor-1.1.0-1/src/zacc/zacc.c", line 1109:
warning: implicit function declaration: unlink
        LD     /export/home0/wspage/aldor-1.1.0-1/obj/bin/zacc
/usr/ccs/bin/ld: warning: libm.so.1, needed by
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/../../../libstdc++.so,
may conflict with libm.so.2
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/aldor.conf
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/basic.typ
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/aldor.terminfo
00:35:10  >> building rona
00:35:10   >> building include
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/rona/config/autoconf.h
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/rona/config/msvc.h
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/rona/abi.h
        CP     /export/home0/wspage/aldor-1.1.0-1/obj/include/rona/config.h
      ZACC     src/compiler/phases/axl.y
      YACC     src/compiler/phases/axl.c
        LD     /export/home0/wspage/aldor-1.1.0-1/obj/bin/msgcat
cc: Warning: option -2 passed to ld
cc: Warning: option -0 passed to ld
cc: Warning: option -3 passed to ld
cc: Warning: illegal option -db3
/usr/ccs/bin/ld: unrecognized option '-2'
/usr/ccs/bin/ld: use the --help option for usage information
make[1]: *** [/export/home0/wspage/aldor-1.1.0-1/obj/bin/msgcat] Error 1
make: *** [prepare] Error 2
-bash-3.00$ ls -l `which ld`
lrwxrwxrwx   1 root     root          34 Sep 10 00:33 /usr/ccs/bin/ld
-> /opt/csw/i386-pc-solaris2.8/bin/ld
-bash-3.00$

--------



More information about the Aldor-l mailing list