search for: crtn

Displaying 20 results from an estimated 146 matches for "crtn".

Did you mean: crtc
2011 Aug 25
4
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
I've got a simple workaround which obviously everyone will figure out: mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o crti.o mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o crt1.o mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crtn.o crtn.o My real question concerns whether or not I should file a bug report against Debian not having a transition path or other means in Debian's update-alternatives infrastructure to update those paths and make them available system-wide or whether LLVM needs to be aware of this move and...
2011 Aug 25
0
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
...I've got a simple workaround which obviously everyone will figure out: > > mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o crti.o > mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o crt1.o > mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crtn.o crtn.o > > My real question concerns whether or not I should file a bug report against > Debian not having a transition path or other means in Debian's > update-alternatives infrastructure to update those paths and make them > available system-wide or whether LLVM needs to be a...
2011 Aug 26
0
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
...32 639214 > quit > > Hi Marc, > > Marc J. Driftmeyer wrote: > >> With the most recent changes of moving the object files under >> /usr/lib/x86_64-linux-gnu/ the linker to build Clang/LLVM breaks. >> >> A workaround is to add symlinks for crt1.o, crti.o and crtn.o back >> under /usr/lib. > From /usr/share/doc/libc6/NEWS.Debian.gz: > > Starting with the eglibc package version 2.13-5, the libraries are > shipped in the multiarch directory/lib/$arch instead of the more > traditional /lib. Similarly the includes are now shipped i...
2011 Aug 25
1
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
...imple workaround which obviously everyone will figure out: >> >> mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o crti.o >> mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o crt1.o >> mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crtn.o crtn.o >> >> My real question concerns whether or not I should file a bug report against >> Debian not having a transition path or other means in Debian's >> update-alternatives infrastructure to update those paths and make them >> available system-wide or whethe...
2011 Jul 07
3
[LLVMdev] llvm-gcc cross compiling for ARM
...target Followed below steps #../llvm-gcc-4.2-2.9.source/configure --program-prefix=llvm- --enable-llvm=/home/yuvraj/llvm/llvm-2.9 --enable-languages=c,c++ --target=arm-none-linux-gnueabi # make I am getting some kind of linker errors /opt/arm-2010.09/bin/arm-none-linux-gnueabi-ld: cannot find crtn.o: No such file or directory @ final stage. I copied crtn.o to current working directory. But getting same issue How do i resolve this issue? Thanks Yuvi R -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachmen...
2020 May 14
2
ld.lld ignoring --sysroot
...ror: >> >> ld.lld --sysroot=/linuxroot/ -o hello -m elf_x86_64 \ >> -dynamic-linker /lib64/ld-linux-x86-64.so.2 \ >> /lib/crt1.o \ >> /usr/lib/x86_64-linux-gnu/crti.o ../hello.o \ >> /usr/lib/x86_64-linux-gnu/libc.so \ >> /usr/lib/x86_64-linux-gnu/crtn.o >> >> ld.lld: error: cannot open /lib/crt1.o: No such file or directory >> ld.lld: error: cannot open /usr/lib/x86_64-linux-gnu/crti.o: No such file >> or directory >> You misunderstand GNU ld's --sysroot rule, which is applicable in these two cases: * when a p...
2018 Apr 02
2
LLD-linked binary segfaults at runtime on alpine linux
...gcc/x86_64-alpine-linux-musl/6.4.0 -dynamic-linker /lib/../lib/ld-musl-x86_64.so.1 hello_world.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lm -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/crtend.o /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crtn.o $ ./hello_world Segmentation fault (core dumped) Now try with binutils: $ ld --gc-sections -m elf_x86_64 -o hello_world /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-alpine-linux-musl/6....
2011 Jul 07
0
[LLVMdev] llvm-gcc cross compiling for ARM
...vm-gcc-4.2-2.9.source/configure --program-prefix=llvm- > --enable-llvm=/home/yuvraj/llvm/llvm-2.9 --enable-languages=c,c++ > --target=arm-none-linux-gnueabi > > # make > > I am getting some kind of linker errors > > /opt/arm-2010.09/bin/arm-none-linux-gnueabi-ld: cannot find crtn.o: No such > file or directory > > > > @ final stage. > > I copied crtn.o to current working directory. But getting same issue > > How do i resolve this issue? > > > Thanks > > Yuvi R > > _______________________________________________ > LLVM Deve...
2020 May 14
2
ld.lld ignoring --sysroot
...-linux-gnu -c -o hello.o hello.c But linking results in an error: ld.lld --sysroot=/linuxroot/ -o hello -m elf_x86_64 \ -dynamic-linker /lib64/ld-linux-x86-64.so.2 \ /lib/crt1.o \ /usr/lib/x86_64-linux-gnu/crti.o ../hello.o \ /usr/lib/x86_64-linux-gnu/libc.so \ /usr/lib/x86_64-linux-gnu/crtn.o ld.lld: error: cannot open /lib/crt1.o: No such file or directory ld.lld: error: cannot open /usr/lib/x86_64-linux-gnu/crti.o: No such file or directory /linuxroot/ contains all the necessary files copied from a Linux machine: /linuxroot/lib/crt1.o, /linuxroot/usr/lib/x86_64-linux-gnu/crti.o, e...
2018 Apr 02
0
LLD-linked binary segfaults at runtime on alpine linux
...nux-musl/6.4.0 -dynamic-linker > /lib/../lib/ld-musl-x86_64.so.1 hello_world.o -lgcc --as-needed -lgcc_s > --no-as-needed -lc -lm -lgcc --as-needed -lgcc_s --no-as-needed > /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/crtend.o > /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crtn.o > $ ./hello_world > Segmentation fault (core dumped) > > Now try with binutils: > $ ld --gc-sections -m elf_x86_64 -o hello_world > /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/Scrt1.o > /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crti.o > /...
2018 Apr 02
1
LLD-linked binary segfaults at runtime on alpine linux
...dynamic-linker >> /lib/../lib/ld-musl-x86_64.so.1 hello_world.o -lgcc --as-needed -lgcc_s >> --no-as-needed -lc -lm -lgcc --as-needed -lgcc_s --no-as-needed >> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/crtend.o >> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crtn.o >> $ ./hello_world >> Segmentation fault (core dumped) >> >> Now try with binutils: >> $ ld --gc-sections -m elf_x86_64 -o hello_world >> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/Scrt1.o >> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/....
2011 Jul 08
1
[LLVMdev] as: unrecognized option '-meabi=4'
...gt; --enable-llvm=/home/yuvraj/llvm/llvm-2.9 --enable-languages=c,c++ >>> --target=arm-none-linux-gnueabi >>> >>> # make >>> >>> I am getting some kind of linker errors >>> >>> /opt/arm-2010.09/bin/arm-none-linux-gnueabi-ld: cannot find crtn.o: No >>> such file or directory >>> >>> >>> >>> @ final stage. >>> >>> I copied crtn.o to current working directory. But getting same issue >>> >>> How do i resolve this issue? >>> >>> >>>...
2008 Oct 16
1
[LLVMdev] 2.4 Pre-release (v1) Available for Testing
Hi, Duncan > /usr/X11R6/bin/ld: i386:x86-64 architecture of input file `/usr/lib/../lib/crti.o' is incompatible with i386 output > /usr/X11R6/bin/ld: i386:x86-64 architecture of input file `/usr/lib/../lib/crtn.o' is incompatible with i386 output > make[4]: *** [32/libgcc_s.so] Error 1 This is multilib issue. Please read README.LLVM file, I added section there describing possible problem & solution. -- WBR, Anton Korobeynikov
2005 Oct 05
1
compiling astrisk
I am trying to compile the astrisk-1.0.9 tarball on a RedHat 9 linux box with dev environment. I get a lot of the following as a result of a make /usr/bin/ld /usr/lib/crtn.o: invalid string offset 1>0 for section `.shstrtab' and final show stopper ./gentone busy 480 620 make[1]:***[busy.h] segmentation fault What do I need to fix in order to get a clean make?
2005 Oct 05
1
newbie asterisk build
...zlib-devel openssl openssl-devel and verified the requisite packages were installed. I uncompressed and unraveled the zaptel tarball with tar -xzf zaptel-1.0.9.2.tar.gz followed by: cd zaptel-1.9.0.2 make clean;make install This resulted in lots similar to the following: /usr/bin/ld /usr/lib/crtn.o: invalid string offset 1>0 for section `' /usr/bin/ld /usr/lib/crtn.o: invalid string offset 4>0 for section `.shstrtab' with the final show stopper ./gendigits make[1]: *** [tones.h] segmentation fault What do I need to fix in order to get a clean make on these tarballs on a R...
2005 Apr 22
1
[LLVMdev] Error while compiling .cpp
...-- g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crti.o: No such file or directory g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/crtbeginS.o: No such file or directory g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/crtendS.o: No such file or directory g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crtn.o: No such file or directory --------------------------------------------------------------------------------------------------------------- It seems the error just appreared from nowhere.Earlier it was working fine.I had also checked out the latest version from cvs sometime back but feel I worked...
2019 Mar 25
2
Trying to create a pure LLVM toolchain on musl based distribution
...toolchain build process so I don't understand very much what's going on there. Hopefully someone that has better low-level knowledges and use musl will be able to guide me for this. What can I tell is that musl provide those files: usr/lib/Scrt1.o usr/lib/crt1.o usr/lib/crti.o usr/lib/crtn.o usr/lib/ld-musl-x86_64.so.1 Regards, -- David
2011 Jul 08
0
[LLVMdev] as: unrecognized option '-meabi=4'
...vm-gcc-4.2-2.9.source/configure --program-prefix=llvm- > --enable-llvm=/home/yuvraj/llvm/llvm-2.9 --enable-languages=c,c++ > --target=arm-none-linux-gnueabi > > # make > > I am getting some kind of linker errors > > /opt/arm-2010.09/bin/arm-none-linux-gnueabi-ld: cannot find crtn.o: No such > file or directory > > > > @ final stage. > > I copied crtn.o to current working directory. But getting same issue > > How do i resolve this issue? > > > Thanks > > Yuvi R > > _______________________________________________ > LLVM Deve...
2001 Aug 16
1
crt1.o skipped at configure time ? (PR#1057)
...lude -static conftest.c -L/usr/local/lib 1>&5 ld32: FATAL 9 : I/O error (/usr/lib32/mips3/nonshared/crt1.o): No such file or directory here is a list of what's in mips3 laurent@ibiology> ls /usr/lib32/mips3/ crt1.o libdmnet.so libfpe.so libmalloc_cv.so crtn.o libdmnet.so.1 libfpe_ss.so libmalloc_ss.so dmedia libdplace.so libftn.so libmangle.a dsmcrt.o libdprof.so libftn90.so libmp.a fixade.o libelfutil.a libinstr.so libmp.so libMMmalloc.a libelfutil_x...
2010 Dec 28
1
[LLVMdev] llvm with non-standard gcc location
.../ld-linux-x86-64.so.2 -o tutorial001 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o crtbegin.o -L -L/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/../../.. /tmp/cc-3mbwGS.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed crtend.o /usr/lib/../lib64/crtn.o /usr/bin/ld: crtbegin.o: No such file: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) I did some research already and if I understand it correctly the problem is a non-standard gcc location (/usr/lib64/gcc/x86_64-suse-linux/4.2.1). As I...