All SingleSource and MultiSource tests failed at FreeBSD

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---------------------

Vladimir

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---------------------

Vladimir

_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

-Chris

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.

gmake clean in llvm/runtime/ remove all build tree of nighttest starting with llvm/runtime/../..
And then i can't do gmake install :slight_smile:

Ok
I will rebuld llvm and check build logs for crtend.a creating and installing

Vladimir

This looks like your crtend.a file did not get built correctly. Try doing
make clean/make install in llvm/runtime/ again.

gmake clean in llvm/runtime/ remove all build tree of nighttest starting with llvm/runtime/../..
And then i can't do gmake install :slight_smile:

Ok
I will rebuld llvm and check build logs for crtend.a creating and installing

Current CVS LLVM build without problems but gmake install failed with message:

/home/wanderer/pkg/llvm/include/./llvm/Transforms/Utils/UnifyFunctionExitNodes.h
/home/wanderer/pkg/llvm/include/./llvm/IntrinsicInst.h
gmake[1]: Entering directory `/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
gmake[1]: *** [/usr/home/wanderer/pkg/build/llvm/obj/lib/System/Debug/MappedFile.o] Error 1
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/lib/System'
gmake: *** [install] Error 1

Vladimir

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.

Vladimir

Vladimir,

The MappedFile.cpp file exists in CVS for all platforms. You need to
update in llvm/lib/System to restore MappedFile.cpp

Reid.

> 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.

Reid.

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.

Vladimir

'make install' should install this into the CFRONTEND/bytecodeobjs
directory.

-Chris

lib\Debug\libcrtend.a builded.

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.

Sorry for false alarm.

Vladimir