[m-dev.] for review: generating C layout structures

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Jan 10 19:11:35 AEDT 2001


On 09-Jan-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> lcc is installed on hg in /usr/local/bin.
> 
> P.S. "autotest lcc port", i.e. run nightly tests with lcc, is still on
> my TODO list.

It looks like the compiler cannot bootstrap in grade none.gc on hg with lcc
even *before* my changes. I get the following error messages from ml after
linking in both the compiler and the profiler directories:

/usr/lib/libc.a(strtoll.o): In function `__strtoll_internal':
/usr/src/packages/BUILD/glibc-2.1/stdlib/strtol.c:342: undefined reference to `__udivdi3'
/usr/src/packages/BUILD/glibc-2.1/stdlib/strtol.c:343: undefined reference to `__umoddi3'
/usr/lib/libc.a(strtoull.o): In function `__strtoull_internal':
/usr/src/packages/BUILD/glibc-2.1/stdlib/strtol.c:342: undefined reference to `__udivdi3'
/usr/src/packages/BUILD/glibc-2.1/stdlib/strtol.c:343: undefined reference to `__umoddi3'
gmake[2]: *** [mercury_compile] Error 1
gmake[2]: Target `default_target' not remade because of errors.
gmake[2]: Leaving directory `/mnt/muruke/home/staff/zs/mer/ws40/compiler'

The full make output is in ~zs/mer/ws40/errs.

Fergus, please fix this ASAP, since I cannot work on making debugging info
available to the bytecode interpreter until I commit this change.

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list