chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] CMake build can't bootstrap autotools build


From: John Cowan
Subject: [Chicken-users] CMake build can't bootstrap autotools build
Date: Wed, 2 Aug 2006 02:34:22 -0400
User-agent: Mutt/1.3.28i

Okay, something's very wrong here.  I installed the latest CMake build,
and then tried to do a clean autotools build.  Nothing special from
autogen.sh or from ./configure.  Then "make BOOTSTRAP_PATH=/usr/local/bin"
ran fine until I got to this line:

gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall
-Wno-unused -Wno-uninitialized -DHAVE_ALLOCA_H -DC_ENABLE_PTABLES
-o chicken.exe .libs/chicken.o .libs/support.o .libs/easyffi.o
.libs/compiler.o .libs/optimizer.o .libs/c-platform.o .libs/c-backend.o
.libs/batch-driver.o -Wl,--export-dynamic  ./.libs/libchicken.a -ldl
/usr/lib/libpcre.dll.a /usr/lib/libffi.a

And then a spew of 7000 (literally seven thousand) error messages from ld,
reporting about `__imp__C_temporary_stack', `__imp__C_fromspace_top',
`__imp__C_temporary_stack_bottom', `__imp__C_stack_limit',
`__imp__C_fromspace_limit', and `__imp__C_disable_overflow_check',
followed by an error from collect2.

On the other hand, __imp__pcre_free linked correctly.  Go figure.

A normal compile with csc -d0 -O2 works correctly, with the usual report:

Info: resolving _C_temporary_stack by linking to __imp__C_temporary_stack 
(auto-import)
Info: resolving _C_stack_limit by linking to __imp__C_stack_limit (auto-import)
Info: resolving _C_fromspace_top by linking to __imp__C_fromspace_top 
(auto-import)
Info: resolving _C_fromspace_limit by linking to __imp__C_fromspace_limit 
(auto-import)
Info: resolving _C_timer_interrupt_counter by linking to 
__imp__C_timer_interrupt_counter (auto-import)

This is only a show-stopper if it indicates some more serious problem.
(A CMake build can bootstrap itself fine, and an autotools build
can boostrap a CMake build.)

-- 
John Cowan  address@hidden  http://www.ccil.org/~cowan
Does anybody want any flotsam? / I've gotsam.
Does anybody want any jetsam? / I can getsam.
        --Ogden Nash, No Doctors Today, Thank You




reply via email to

[Prev in Thread] Current Thread [Next in Thread]