search for: crtend

Displaying 20 results from an estimated 287 matches for "crtend".

2004 Dec 08
0
[LLVMdev] Building llvm and cfrontend under cygwin
Hi Reid, > 2. Make sure you aren't trying to link in some old/crufty crtend.bc > file. Try doing "make uninstall ; make clean" in your crtend > directory if you think this might be the case. "make install" fails - there is no such target. > If those don't clear the problem, please tell me what version > of LLVM you're tryi...
2004 Dec 10
1
[LLVMdev] Building llvm and cfrontend under cygwin
...v[], char *const envp[]) { ................ execveTy execvePtr = (execveTy) dlsym(RTLD_NEXT, "execve"); ..... } RTLD_NEXT is not defined in cygwin headers. 2) cfontend built ok 3) full llvm failed to build: make[3]: Entering directory `/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend' llvm[3]: Compiling Exception.cpp for Debug build (bytecode) llvm[3]: Linking comp_genericeh.bc component... llvm[3]: Compiling crtend.c for Debug build (bytecode) llvm[3]: Compiling listend.ll for Debug build llvm[3]: Linking comp_main.bc component... assertion "(Result->isFirstClassTy...
2004 Dec 05
1
[LLVMdev] Building llvm and cfrontend under cygwin
Hi there, I'm trying to build llvm under cygwin running under windows xp, and have struck the following problem: -- llvm: tools-only built ok -- cfrontend: built ok -- llvm: full build failed at the following point: make[3]: Entering directory `/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend' Compiling crtend.c to bytecode Compiling listend.ll to bytecode Linking comp_main.bc component... /cygdrive/d/3rd-party/llvm/tools/Debug/gccld: Error linking in bytecode file '/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend/BytecodeObj/crte nd.bc': Bytecode file '/cygdrive/d...
2004 Aug 16
3
[LLVMdev] Re: [llvm-announce] LLVM 1.3 Release!]
...econfigure, setting the CFEINSTALL dir, then make it can build the tools ok but not the runtime: make[1]: Entering directory `/usr/pd/llvm/llvm/runtime' make[2]: Entering directory `/usr/pd/llvm/llvm/runtime/GCCLibraries' make[3]: Entering directory `/usr/pd/llvm/llvm/runtime/GCCLibraries/crtend' Compiling crtend.c to bytecode Files/ATI: not found make[3]: *** [/usr/pd/llvm/llvm/runtime/GCCLibraries/crtend/BytecodeObj/crtend.b c] Error 127 make[3]: Leaving directory `/usr/pd/llvm/llvm/runtime/GCCLibraries/crtend' make[2]: *** [crtend/.makeall] Error 2 make[2]: Leaving directory `/...
2006 Apr 20
2
[LLVMdev] trying to bootstrap gcc 4.0.1 and the cvs llvm
...the cvs head llvm. I was able to build the llvm tools without a problem. gcc has a small problem (from the apple branch IIRC): libojc is built unconditionally, so objc must be in the --enable-languages option for the build to be successful. Building the rest of llvm fails with llvm[3]: Compiling crtend.ll to crtend.bc for Debug build (bytecode) /home/rafael/dev/obj/Debug/bin/gccas: /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1: syntax error, unexpected $undefined /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1: while reading token: '.' I believe t...
2004 Aug 16
0
[LLVMdev] Re: [llvm-announce] LLVM 1.3 Release!]
On Mon, Aug 16, 2004 at 01:07:39PM +0200, Robert Feldt wrote: > However, when I go back to rebuild llvm, reconfigure, setting the > CFEINSTALL dir, then make it can build the tools ok but not the > runtime: [snip] > Compiling crtend.c to bytecode > Files/ATI: not found [snip] > I don't understand the error message since I see no reference to > Files/ATI. Any clues? Can you please give us the output log with you run "gmake VERBOSE=1"? That should give us the exact compilation line used. Thanks, -- Mi...
2006 Oct 10
1
[LLVMdev] gccas problem with crtend.ll again
...blem. > > gcc has a small problem (from the apple branch IIRC): libojc is built > > unconditionally, so objc must be in the --enable-languages option for > > the build to be successful. > > > > Building the rest of llvm fails with > > > > llvm[3]: Compiling crtend.ll to crtend.bc for Debug build (bytecode) > > /home/rafael/dev/obj/Debug/bin/gccas: > > /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1: > > syntax error, unexpected $undefined > > /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1: > &...
2004 Aug 16
1
[LLVMdev] Re: [llvm-announce] LLVM 1.3 Release!]
...n Mon, Aug 16, 2004 at 01:07:39PM +0200, Robert Feldt wrote: > > >>However, when I go back to rebuild llvm, reconfigure, setting the >>CFEINSTALL dir, then make it can build the tools ok but not the >>runtime: >> >> >[snip] > > >>Compiling crtend.c to bytecode >>Files/ATI: not found >> >> >[snip] > > >>I don't understand the error message since I see no reference to >>Files/ATI. Any clues? >> >> > >Can you please give us the output log with you run "gmake VERBOSE=...
2004 Aug 19
4
[LLVMdev] Can't get llvmg++ to work
...lem here is that FreeBSD can be made compatible with 5 different distros, and not all of them work with LLVM. I used linux_base-8; linux_base-6 did not work.) I did have some build errors, which look like they may be relevant: gmake[3]: Entering directory `/usr/home/llvm/obj/runtime/GCCLibraries/crtend' Compiling crtend.c to bytecode Compiling listend.ll to bytecode Linking comp_main.bc component... Compiling Exception.cpp to bytecode Linking comp_genericeh.bc component... Compiling SJLJ-Exception.cpp to bytecode In file included from /usr/home/llvm/cfrontend/x86/llvm-gcc/bin/../lib/gcc/i686-...
2004 Aug 19
0
[LLVMdev] Can't get llvmg++ to work
...can be made compatible with 5 different distros, > and not all of them work with LLVM. I used linux_base-8; linux_base-6 > did not work.) I did have some build errors, which look like they may > be relevant: > > gmake[3]: Entering directory `/usr/home/llvm/obj/runtime/GCCLibraries/crtend' > Compiling crtend.c to bytecode > Compiling listend.ll to bytecode > Linking comp_main.bc component... > Compiling Exception.cpp to bytecode > Linking comp_genericeh.bc component... > Compiling SJLJ-Exception.cpp to bytecode > In file included from /usr/home/llvm/cfronten...
2003 Dec 07
2
[LLVMdev] Can you hint on solution to following problem
gccld: Cannot find linker input file 'crtend.o I have set the LLVM_LIB_SEARCH_PATH ls -l $LLVM_LIB_SEARCH_PATH total 104 -rw-r--r-- 1 muj20 muj20 12788 Dec 7 17:05 crtend.o -rw-r--r-- 1 muj20 muj20 1984 Dec 7 17:05 libc.bc -rw-r--r-- 1 muj20 muj20 120 Dec 7 17:05 libcurses.bc
2006 Jul 30
2
[LLVMdev] Building llvm under cygwin
Hi! I'm trying to build LLVM under cygwin. I have the latest version of cygwin and CVS versions of llvm, llvm-test and llvm-gcc. make of tools only succeeded. make of frontend succeeded too but full make of llvm failed on crtend in llvm/runtime/GCCLibraries with the following message: llvm[0]: Compiling crtend.c for Debug build (bytecode) /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `if PATH="/llvmobj/Debug/bin:/bin:/llvmobj/Debug/bin:/bin:/ usr/local/bin:/usr/bin:/bin:"C:...
2004 Dec 22
0
[LLVMdev] More on Cygwin
...Reid changed the CFE build instructions to add > "--program-prefix=llvm" to the end of the configure line, but > autoconf and Makefiles are not yet updated with that change. Thanks for the tip, it worked with the configuration problem. However, further on, I'm back to the old crtend problem I reported a while ago: llvm[0]: Linking comp_main.bc component... /cygdrive/d/3rd-party/llvm/Debug/bin/gccld.exe -link-as-library \ -internalize-public-api-file=/cygdrive/d/3rd-party/llvm/runtime/GCCLibra ries/crtend/comp_main.lst \ /cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend/D...
2006 Dec 01
1
[LLVMdev] crtend
Before upgrading to the latest LLVM today, I used to run the following command: llvm-gcc -fno-inline -o __tmp.homer___ llvmtest/sliceme2.bc -L/home/testbed1/lefever/work/llvm/install/lib -lcrtend However, it is given the following error. /usr/bin/ld: cannot find -lcrtend collect2: ld returned 1 exit status make: *** [llvmtest/sliceme2.cbc] Error 1 Has the crtend library been moved? Thanks, Ryan
2005 Jan 26
3
[LLVMdev] Building the llvm runtime: 'Can't destroy file: The process cannot access the fi
...ecause it is being used by another process.' The file is destoyed anyway. I think that the the real error is the path for the file (*/\file.tmp). However, I can't find the bug in the source. Do you have any clue?: ----------------------------- llvm[3]: Building Debug Bytecode Archive libcrtend.bca /bin/rm -f /C/projects/build/MinGW/llvm-4-1/Debug/lib/libcrtend.bca /C/projects/build/MinGW/llvm-4-1/Debug/bin/llvm-ar rcsf /C/projects/build/MinGW/llvm-4-1/Debug/lib/libcrtend.bca /C/projects/build/MinGW/llvm-4-1/runtime/GCCLibraries/crtend/Debug/comp_genericeh.bc /C/projects/build/MinGW/ll...
2007 Jan 10
4
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
...LANGUAGES="" \ LIBGCC2_CFLAGS="-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \ MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o make[3]: Entering directory `/home/xzx/llvm-gcc-obj/gcc' make[3]: `crtbegin.o' is up to date. make[3]: `crtend.o' is up to date. make[3]: `crtbeginS.o' is up to date. make[3]: `crtendS.o' is up to date. make[3]: `crtbeginT.o' is up to date...
2006 Feb 27
2
[LLVMdev] Using llvm-gcc with a simple program and the '-c' option
...--------------- without "-c" (llvm-gcc t1.c -o t1) the dissassembled bytecode does not call __main: ----------------------- ; ModuleID = '<stdin>' target endian = little target pointersize = 32 target triple = "i686-pc-linux-gnu" deplibs = [ "c", "crtend" ] %struct..TorRec = type { int, void ()* } %struct.TorRec = type { int, void ()* } %.str_1 = internal constant [4 x sbyte] c"yo\0A\00" ; <[4 x sbyte]*> [#uses=1] implementation ; Functions: declare int %printf(sbyte*, ...) int %main(int %argc, sbyte** %arg...
2017 Jun 02
6
Providing __dso_handle in LLVM
...le really belongs in libc++abi. However, for implementation reasons it needs to be included statically into each final link (whether executable or shared library), even when libc++abi is built as a shared library. There several options that we discussed for approaching this: 1. Provide crtbegin.o/crtend.o implementation in compiler-rt. This is the approach I took in D28791. In Fuchsia, we don't need crtbegin.o/crtend.o at all, but having these may be useful elsewhere, like LLVM-based Linux distributions that won't ship libgcc and will need to provide their own crtbegin.o/crtend.o. However,...
2004 Aug 15
0
[LLVMdev] Re: [llvm-announce] LLVM 1.3 Release!]
On Sun, 15 Aug 2004, Robert Feldt wrote: > However, I wonder if someone supplies pre-built cfrontend binaries for > cygwin? Nope, we don't have one yet, sorry. > I followed the instructions and tried to build them myself but get > when building the cfrontend. Any ideas? That is really wierd. Looking at that line of gcc.c, I have no idea how it ever worked. In any case, this
2006 Apr 20
0
[LLVMdev] trying to bootstrap gcc 4.0.1 and the cvs llvm
...build the llvm tools without a problem. > gcc has a small problem (from the apple branch IIRC): libojc is built > unconditionally, so objc must be in the --enable-languages option for > the build to be successful. > > Building the rest of llvm fails with > > llvm[3]: Compiling crtend.ll to crtend.bc for Debug build (bytecode) > /home/rafael/dev/obj/Debug/bin/gccas: > /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1: > syntax error, unexpected $undefined > /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1: > while reading token:...