Displaying 10 results from an estimated 10 matches for "scrt1".
Did you mean:
crt1
2018 Apr 02
2
LLD-linked binary segfaults at runtime on alpine linux
...s 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
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crti.o
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/crtbegin.o -L
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib -L
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0 -dynamic-linker
/lib/../lib/ld-musl-x86_64.so.1 hello_world.o -lg...
2018 Apr 02
0
LLD-linked binary segfaults at runtime on alpine linux
...t; 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
> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crti.o
> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/crtbegin.o -L
> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib -L
> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0 -dynamic-linker
> /lib/../lib/ld-musl-x86_...
2018 Apr 02
1
LLD-linked binary segfaults at runtime on alpine linux
...t;>
>> 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
>> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/crti.o
>> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/crtbegin.o -L
>> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib -L
>> /usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0 -dynamic-linker
>> /lib...
2017 Jun 15
2
Linker error while linking DataFlowSanitizer to LLVM IR
...te_label("i", 0);
dfsan_set_label(i_label, &i, sizeof(i));
return 0;
}
=========================================
clang -c -emit-llvm -fsanitize=dataflow test.c -o test.bc
clang -fsanitize=dataflow test2.bc -o test2
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/Scrt1.o: In
function `_start':
(.text+0x20): undefined reference to `main'
/tmp/test2-c642ef.o: In function `dfs$main':
test2.bc:(.text+0x96): undefined reference to `dfs$dfsan_create_label'
test2.bc:(.text+0xeb): undefined reference to `dfs$dfsan_set_label'
/tmp/test2-c642ef.o: I...
2019 Mar 25
2
Trying to create a pure LLVM toolchain on musl based distribution
..., I don't know much the lowest part of the 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
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
...lude "..." search starts 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...
2010 Apr 29
0
error on Samba compilation
...sion 3.5.2 under Debian Lenny According to doc:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html
... And I obtain the following error during the execution of the make:
Linking libsmbclient shared library bin/libsmbclient.so
/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/Scrt1.o: In function `_start':
(.text+0x28): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [bin/libsmbclient.so] Erreur 1
Thank you for your suggestions.
Pierre.
--
53...381
**************************************************************************
Pierre Durand...
2019 Aug 03
3
conflicting builtins in clang with musl (stddef.h)
...nclude"
#include "..." search starts here:
#include <...> search starts here:
/bin/../include/c++/v1
/lib/clang/8.0.0/include
/include
End of search list.
"/bin/ld.lld" -pie --eh-frame-hdr -m elf_x86_64 -dynamic-linker
/lib/ld-musl-x86_64.so.1 -o a.out /bin/../lib/Scrt1.o
/bin/../lib/crti.o /lib/clang/8.0.0/lib/linux/crtbeginS.o -L/bin/../lib
-L/lib -L/usr/lib /tmp/test-0249b1.o -lc++ -lm
/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a -lc
/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-x86_64.a
/lib/clang/8.0.0/lib/linux/crtendS.o /bin/../lib/crtn.o
How...
2008 Mar 05
0
Press delete key three times in R-2.6.1 to get segmentation fault (PR#10892)
...*mflib:
%{fmudflap|fmudflapth: -export-dynamic}
*link_gomp:
*libgcc:
%{static|static-libgcc:-lgcc
-lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc --as-needed -lgcc_s
--no-as-needed}%{shared-libgcc:-lgcc_s%{!shared: -lgcc}}}}
*startfile:
%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} crti.o%s
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}
*switches_need_spaces:
*cross_compile:
0
*version:
4.2.2
*multilib:
. ;
*multilib_defaults:
*multilib_extra:
*multilib_matches:
*multilib_exclusions:
*multilib_options:
*linker:...
2015 Jul 09
5
[LLVMdev] The Trouble with Triples
> -----Original Message-----
> From: Renato Golin [mailto:renato.golin at linaro.org]
> Sent: 08 July 2015 19:01
> To: Daniel Sanders
> Cc: LLVM Developers Mailing List (llvmdev at cs.uiuc.edu); Eric Christopher
> (echristo at gmail.com); Jim Grosbach (grosbach at apple.com)
> Subject: Re: The Trouble with Triples
>
> On 8 July 2015 at 17:43, Daniel Sanders