Nicolas Raynaud
2009-Apr-03 00:45 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Hi all, llvm doesn't seems to build but it doesn't give me any useful error message : nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ make llvm[1]: Compiling Alarm.cpp for Debug build llvm[1]: Compiling Disassembler.cpp for Debug build llvm[1]: Compiling DynamicLibrary.cpp for Debug build llvm[1]: Compiling Host.cpp for Debug build llvm[1]: Compiling IncludeFile.cpp for Debug build llvm[1]: Compiling Memory.cpp for Debug build llvm[1]: Compiling Mutex.cpp for Debug build llvm[1]: Compiling Path.cpp for Debug build llvm[1]: Compiling Process.cpp for Debug build llvm[1]: Compiling Program.cpp for Debug build llvm[1]: Compiling Signals.cpp for Debug build llvm[1]: Compiling TimeValue.cpp for Debug build llvm[1]: Building Debug Archive Library libLLVMSystem.a make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a] Error 1 make: *** [all] Error 1 it looks like the file is empty : nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ls -l Debug/lib/libLLVMSystem.a -rw-r--r-- 1 nraynaud nraynaud 0 3 avr 02:28 Debug/lib/libLLVMSystem.a Did I miss any log file where a useful error message can have been redirected to ? about the context : I initialy tried the 2.5 tarball, and then tried the svn, with the same symptom nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ svn info Path: . URL: http://llvm.org/svn/llvm-project/llvm/trunk Repository Root: http://llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 68345 nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ uname -a Darwin macaron-2.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ gcc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Thanks for your help, Nico.
Nicolas Raynaud
2009-Apr-03 00:48 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Hi all, llvm doesn't seems to build but it doesn't give me any useful error message : nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ make llvm[1]: Compiling Alarm.cpp for Debug build llvm[1]: Compiling Disassembler.cpp for Debug build llvm[1]: Compiling DynamicLibrary.cpp for Debug build llvm[1]: Compiling Host.cpp for Debug build llvm[1]: Compiling IncludeFile.cpp for Debug build llvm[1]: Compiling Memory.cpp for Debug build llvm[1]: Compiling Mutex.cpp for Debug build llvm[1]: Compiling Path.cpp for Debug build llvm[1]: Compiling Process.cpp for Debug build llvm[1]: Compiling Program.cpp for Debug build llvm[1]: Compiling Signals.cpp for Debug build llvm[1]: Compiling TimeValue.cpp for Debug build llvm[1]: Building Debug Archive Library libLLVMSystem.a make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a] Error 1 make: *** [all] Error 1 it looks like the file is empty : nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ls -l Debug/lib/libLLVMSystem.a -rw-r--r-- 1 nraynaud nraynaud 0 3 avr 02:28 Debug/lib/libLLVMSystem.a Did I miss any log file where a useful error message can have been redirected to ? about the context : I initialy tried the 2.5 tarball, and then tried the svn, with the same symptom nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ svn info Path: . URL: http://llvm.org/svn/llvm-project/llvm/trunk Repository Root: http://llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 68345 nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ uname -a Darwin macaron-2.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ gcc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Thanks for your help, Nico.
Dale Johannesen
2009-Apr-03 00:50 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
make VERBOSE=1 might tell you something. Apparently the shared library link is failing for some reason. On Apr 2, 2009, at 5:45 PMPDT, Nicolas Raynaud wrote:> Hi all, llvm doesn't seems to build but it doesn't give me any useful > error message : > nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ make > llvm[1]: Compiling Alarm.cpp for Debug build > llvm[1]: Compiling Disassembler.cpp for Debug build > llvm[1]: Compiling DynamicLibrary.cpp for Debug build > llvm[1]: Compiling Host.cpp for Debug build > llvm[1]: Compiling IncludeFile.cpp for Debug build > llvm[1]: Compiling Memory.cpp for Debug build > llvm[1]: Compiling Mutex.cpp for Debug build > llvm[1]: Compiling Path.cpp for Debug build > llvm[1]: Compiling Process.cpp for Debug build > llvm[1]: Compiling Program.cpp for Debug build > llvm[1]: Compiling Signals.cpp for Debug build > llvm[1]: Compiling TimeValue.cpp for Debug build > llvm[1]: Building Debug Archive Library libLLVMSystem.a > make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/ > libLLVMSystem.a] > Error 1 > make: *** [all] Error 1 > > it looks like the file is empty : > nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ls -l > Debug/lib/libLLVMSystem.a > -rw-r--r-- 1 nraynaud nraynaud 0 3 avr 02:28 Debug/lib/ > libLLVMSystem.a > > Did I miss any log file where a useful error message can have been > redirected to ? > > about the context : > I initialy tried the 2.5 tarball, and then tried the svn, with the > same symptom > > nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ svn info > Path: . > URL: http://llvm.org/svn/llvm-project/llvm/trunk > Repository Root: http://llvm.org/svn/llvm-project > Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 > Revision: 68345 > > nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ uname -a > Darwin macaron-2.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 > 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 > > nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ gcc --version > i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) > > > Thanks for your help, > > Nico. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Nicolas Raynaud
2009-Apr-03 01:16 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Thanks for your help Dale, I got a little bit more clue (in snipped the begining the build messages) : ar cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Alarm.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Disassembler.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/DynamicLibrary.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Host.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/IncludeFile.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Memory.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Mutex.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Path.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Process.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Program.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Signals.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/TimeValue.o ar: /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a: Opération invalide make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a] Error 1 make: *** [all] Error 1 it looks like ar did an invalid operation (I suppose it got killed by a signal). I don't know what to do to diagnostic this. here is the ar version string for ar, is this what's expected ? nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ar --version GNU ar (GNU Binutils) 2.19 Nico. On Fri, Apr 3, 2009 at 2:50 AM, Dale Johannesen <dalej at apple.com> wrote:> make VERBOSE=1 might tell you something. Apparently the shared > library link is failing for some reason. > > On Apr 2, 2009, at 5:45 PMPDT, Nicolas Raynaud wrote: > >> Hi all, llvm doesn't seems to build but it doesn't give me any useful >> error message : >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ make >> llvm[1]: Compiling Alarm.cpp for Debug build >> llvm[1]: Compiling Disassembler.cpp for Debug build >> llvm[1]: Compiling DynamicLibrary.cpp for Debug build >> llvm[1]: Compiling Host.cpp for Debug build >> llvm[1]: Compiling IncludeFile.cpp for Debug build >> llvm[1]: Compiling Memory.cpp for Debug build >> llvm[1]: Compiling Mutex.cpp for Debug build >> llvm[1]: Compiling Path.cpp for Debug build >> llvm[1]: Compiling Process.cpp for Debug build >> llvm[1]: Compiling Program.cpp for Debug build >> llvm[1]: Compiling Signals.cpp for Debug build >> llvm[1]: Compiling TimeValue.cpp for Debug build >> llvm[1]: Building Debug Archive Library libLLVMSystem.a >> make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/ >> libLLVMSystem.a] >> Error 1 >> make: *** [all] Error 1 >> >> it looks like the file is empty : >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ls -l >> Debug/lib/libLLVMSystem.a >> -rw-r--r-- 1 nraynaud nraynaud 0 3 avr 02:28 Debug/lib/ >> libLLVMSystem.a >> >> Did I miss any log file where a useful error message can have been >> redirected to ? >> >> about the context : >> I initialy tried the 2.5 tarball, and then tried the svn, with the >> same symptom >> >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ svn info >> Path: . >> URL: http://llvm.org/svn/llvm-project/llvm/trunk >> Repository Root: http://llvm.org/svn/llvm-project >> Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 >> Revision: 68345 >> >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ uname -a >> Darwin macaron-2.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 >> 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 >> >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ gcc --version >> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) >>
Maybe Matching Threads
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message