search for: crtbegins

Displaying 20 results from an estimated 242 matches for "crtbegins".

Did you mean: crtbegin
2017 Jun 02
6
Providing __dso_handle in LLVM
This is a followup to the discussion that started in D28791. To provide the context, we need a way to provide __dso_handle in Fuchsia. __dso_handle symbol is mandated by C++ ABI with a value which is an address in one of the object's segments, and as such this symbol has to be included statically and cannot be a part of a shared library. Different systems provide it differently: 1. On
2017 Jun 03
2
Providing __dso_handle in LLVM
On Fri, Jun 2, 2017 at 1:01 PM Sean Silva <chisophugis at gmail.com> wrote: > On Thu, Jun 1, 2017 at 8:47 PM, Petr Hosek via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> This is a followup to the discussion that started in D28791. To provide >> the context, we need a way to provide __dso_handle in Fuchsia. __dso_handle >> symbol is mandated by C++
2007 Jan 10
4
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
...ES="" \ 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. make[3]: L...
2019 Jan 21
0
[PATCH] ia64: Fix shared build
We need to build with -mno-pic to disable all uses of GP, as well as use a custom linker script to avoid collisions between klibc.so's and the executable's segments. Signed-off-by: James Clarke <jrtc27 at jrtc27.com> --- usr/klibc/arch/ia64/MCONFIG | 3 + usr/klibc/arch/ia64/crt0.S | 4 - usr/klibc/arch/ia64/klibc.ld | 267 ++++++++++++++++++++++++++++++++++++++++++
2020 Jun 09
2
Cross compile x64 to AArch64 issues
Hi, I am trying to cross compile release-10.x to AArch64 (target=aarch64-linux-gnu), and the directions listed at [1] are not completing the initial cmake step. I'm currently running Manjaro, with the aarch64-linux-gnu package (and associated binutils, headers, and glibc packages). My cmake command is cmake -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=`realpath install`
2007 Jan 10
0
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
...GCC2_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]: `crtbeg...
2019 Jan 21
0
[klibc:master] ia64: Fix shared build
Commit-ID: 8418552770110e9864ab24d60d8481fac58d3a65 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8418552770110e9864ab24d60d8481fac58d3a65 Author: James Clarke <jrtc27 at jrtc27.com> AuthorDate: Mon, 21 Jan 2019 21:26:57 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 21 Jan 2019 22:51:27 +0000 [klibc] ia64: Fix shared build We
2007 Jan 11
2
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
..."-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...
2011 Jan 08
2
[LLVMdev] LLVM-GCC build failed
Hi      I am using LLVM and LLVM-GCC from SVN (version number: 122880). And I am using arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2 or arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2. I tried the automated scripts (create-snapshots.sh and build-install-linux.sh) that are in the LLVM repository for building crosstoll for ARM
2007 Jan 12
2
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
...ite-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. &g...
2007 Jan 11
0
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
...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]: `crte...
2019 Mar 25
2
Trying to create a pure LLVM toolchain on musl based distribution
...ectory, which I think that you can > alter at build time. > You're right, I've just checked both packages in Alpine and Arch and they indeed move the /usr/lib/linux directory under the clang's one. I've fixed that it worked, now I still have to find the solution regarding crtbeginS.so and crtendS.so. Thanks :) > I don't think that there is a way of preventing clang adding > crtbeginS.o and crtendS.o without --nostdlib or --nostartfiles but > using these options will also not add the other crt*.o files that you > may be expecting. > > There is a line i...
2018 Apr 02
2
LLD-linked binary segfaults at runtime on alpine linux
Alpine linux is a distribution that uses musl libc instead glibc. Here are my steps to reproduce: On Alpine linux, download LLVM, Clang, LLD 6.0.0 from releases.llvm.org, and build them from source. $ clang -c hello_world.c $ ld.lld --gc-sections -m elf_x86_64 -o hello_world /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/Scrt1.o
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
...ts here: #include <...> search starts here: /usr/local/include /usr/lib/clang/8.0.0/include /usr/include End of search list. "/usr/bin/ld.lld" -pie --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-musl-x86_64.so.1 -o a.out /usr/bin/../lib/Scrt1.o /usr/bin/../lib/crti.o crtbeginS.o -L/usr/bin/../lib -L/lib -L/usr/lib /tmp/test-1d99ce.o /usr/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a -lc /usr/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a crtendS.o /usr/bin/../lib/crtn.o ld.lld: error: cannot open crtbeginS.o: No such file or directory ld.lld: error...
2008 Feb 16
3
[LLVMdev] amd64, FreeBSD and shared libraries
...able-shared, because the linker ends up erroring out with a linker error when building libgcc_s.so. Subsequently, the same error is produced when it attempts to build libstdc++.so. If you do happen to build and install it, any attempt to link a shared library results in this very same behavior. The crtbeginS.o object seems to contain the offending relocation data which ld doesn't like. The following error is what I get: /usr/home/cokane/src/llvm-gcc4.2-2.2.source/host-amd64-undermydesk-freebsd8/gcc/xgcc -B/usr/home/cokane/src/llvm-gcc4.2-2.2.source/host-amd64-undermydesk-freebsd8/gcc/ -B/home/cok...
2008 Mar 30
2
[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
Hi all, I managed to navigate around all those issues with environment variables and such. llvm itself now builds and checks just fine, but I can't get llvm-gcc to compile. Trying to 'make' from .../gcc gives me: ./xgcc -B./ -B/home/jo/i686-pc-linux-gnu/bin/ -isystem /home/jo/i686-pc-linux-gnu/include -isystem /home/jo/i686-pc-linux-gnu/sys-include -L/home/jo/llvm-gcc-wrk/gcc/../ld
2007 Jan 12
0
[LLVMdev] llvm-gcc build fail on RHEL v4 x86_64
...>>> -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...
2008 Oct 02
1
[LLVMdev] build broken (a different way)
I get the output below on Ubuntu Hardy on ia32 from svn 56984. John make[2]: Entering directory `/home/regehr/llvm-gcc/build/gcc' /home/regehr/llvm-gcc/build/./gcc/xgcc -B/home/regehr/llvm-gcc/build/./gcc/ -B/home/regehr/i686-pc-linux-gnu/bin/ -B/home/regehr/i686-pc-linux-gnu/lib/ -isystem /home/regehr/i686-pc-linux-gnu/include -isystem /home/regehr/i686-pc-linux-gnu/sys-include -O2 -O2
2011 Jan 08
0
[LLVMdev] LLVM-GCC build failed
On Jan 8, 2011, at 8:04 AM, akramul azim wrote: > Hi > > I am using LLVM and LLVM-GCC from SVN (version number: 122880). And I am using arm-2009q1-176-arm-none-linux-gnueabi-i686-mingw32.tar.bz2 or arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2. I tried the automated scripts (create-snapshots.sh and build-install-linux.sh) that are in the LLVM repository for building
2014 Nov 30
3
[LLVMdev] How to fix bug
Please help me. How do I fix this bug @ubuntu:~/Documents/test$ clang hello.c -o hello /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory /usr/bin/ld: cannot find crtbegin.o: No such file or directory /usr/bin/ld: cannot find -lgcc /usr/bin/ld: cannot find -lgcc_s clang-2: error: linker command failed with exit code 1