All SingleSource and MultiSource tests failed in last run of FreeBSD nighttester (and in previous).
Mostly with error:
---8X---------------------
gcc -O3 Output/2002-05-02-CastTest3.llc-ls.s -lm -o Output/2002-05-02-CastTest3.llc-ls
/var/tmp//ccwC1BGs.o(.text+0x14): In function `main':
: undefined reference to `__llvm_getGlobalCtors'
/var/tmp//ccwC1BGs.o(.text+0x2b): In function `main':
: undefined reference to `__llvm_getGlobalDtors'
/var/tmp//ccwC1BGs.o(.text+0x10c): In function `l2__2E_run_destructors_1':
: undefined reference to `__llvm_getGlobalDtors'
collect2: ld returned 1 exit status
gmake[2]: [Output/2002-05-02-CastTest3.llc-ls] Error 1 (ignored)
---X8---------------------
All SingleSource and MultiSource tests failed in last run of FreeBSD
nighttester (and in previous).
Mostly with error:
This looks like your crtend.a file did not get built correctly. Try doing
make clean/make install in llvm/runtime/ again.
-Chris
---8X---------------------
gcc -O3 Output/2002-05-02-CastTest3.llc-ls.s -lm -o
Output/2002-05-02-CastTest3.llc-ls
/var/tmp//ccwC1BGs.o(.text+0x14): In function `main':
: undefined reference to `__llvm_getGlobalCtors'
/var/tmp//ccwC1BGs.o(.text+0x2b): In function `main':
: undefined reference to `__llvm_getGlobalDtors'
/var/tmp//ccwC1BGs.o(.text+0x10c): In function `l2__2E_run_destructors_1':
: undefined reference to `__llvm_getGlobalDtors'
collect2: ld returned 1 exit status
gmake[2]: [Output/2002-05-02-CastTest3.llc-ls] Error 1 (ignored)
---X8---------------------
Current CVS LLVM build without problems but gmake install failed with message:
`/usr/home/wanderer/pkg/build/llvm/obj/lib/System'
llvm[1]: Compiling MappedFile.cpp for Debug build
/home/wanderer/pkg/build/llvm/src/llvm/lib/System/MappedFile.cpp:27:35: platform/MappedFile.cpp: No such file or directory
Also note: i find text in LLVM build log:
config.status: executing tools/sample/Makefile commands
gmake[1]: Entering directory `/usr/home/wanderer/pkg/build/llvm/obj/lib/System'
llvm[1]: Compiling MappedFile.cpp for Debug build
llvm[1]: Compiling Memory.cpp for Debug build
And then MappedFile.o compiled but not found gmake install.
> Current CVS LLVM build without problems but gmake install failed with
> message:
>
> `/usr/home/wanderer/pkg/build/llvm/obj/lib/System'
> llvm[1]: Compiling MappedFile.cpp for Debug build
> /home/wanderer/pkg/build/llvm/src/llvm/lib/System/MappedFile.cpp:27:35:
> platform/MappedFile.cpp: No such file or directory
Also note: i find text in LLVM build log:
config.status: executing tools/sample/Makefile commands
gmake[1]: Entering directory
`/usr/home/wanderer/pkg/build/llvm/obj/lib/System'
llvm[1]: Compiling MappedFile.cpp for Debug build
llvm[1]: Compiling Memory.cpp for Debug build
And then MappedFile.o compiled but not found gmake install.
I don't know what to tell you. This works for me on Linux and Solaris.
The install target has nothing to do with MappedFile.cpp unless
MappedFile.o is out of date in which case it needs to be rebuilt before
installing. All these dependencies have worked well on multiple
platforms for a couple weeks now.
Only thing I can think of is that your "platform" link is missing.
make sure "platform is a symbolic link to your platform's subdirectory
in the llvm/lib/System directory. If you're on FreeBSD then:
ln -s FreeBSD platform
this should have been done for you when you configured.
Only thing I can think of is that your "platform" link is missing.
make sure "platform is a symbolic link to your platform's subdirectory
in the llvm/lib/System directory. If you're on FreeBSD then:
ln -s FreeBSD platform
this should have been done for you when you configured.
My fault.
I make cvs update llvm and AFTER remove build directory using samba access.
Samba interpret softlinks as plain directories and remove all files from System/FreeBSD dir in LLVM sources.
Rebuild LLVM with updated CVS sources and install without errors.
Back to nighttest failures problem.
This looks like your crtend.a file did not get built correctly. Try doing
make clean/make install in llvm/runtime/ again.
lib\Debug\libcrtend.a builded.
But i not found it in LLVM installation dir after install.
But i not found it in LLVM installation dir after install.
'make install' should install this into the CFRONTEND/bytecodeobjs
directory.
Found in correct place.
And then this is also my fault.
I think problem in diff. versions GCC using for my installed LLVM build and nighttest build last time before last nighttest run.
Now used gcc sync: 3.4.3 release.
I will check results next nighttest run.