search for: lgcc

Displaying 20 results from an estimated 169 matches for "lgcc".

Did you mean: gcc
2018 Apr 02
2
LLD-linked binary segfaults at runtime on alpine linux
...t1.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 -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...
2009 Sep 18
2
[LLVMdev] OT: intel darwin losing primary target status
...How exactly do you envision this being done? Looking at the contents of config/darwin.h, I see... /* Support -mmacosx-version-min by supplying different (stub) libgcc_s.dylib libraries to link against, and by not linking against libgcc_s on earlier-than-10.3.9. Note that by default, -lgcc_eh is not linked against! This is because in a future version of Darwin the EH frame information may be in a new format, or the fallback routine might be changed; if you want to explicitly link against the static version of those routines, because you know you don't need to unwind...
2018 Apr 02
0
LLD-linked binary segfaults at runtime on alpine linux
...6_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 -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 wit...
2018 Apr 02
1
LLD-linked binary segfaults at runtime on alpine linux
...x-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 -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) &...
2009 Nov 11
1
32bit development on x86-64
...4 bytes. (Of course without the m32 flag the size of long is 8 bytes.) if I try to do the equivalent in two steps: gcc -c -m32 -Wall sizes.c gcc -osizes -Wl,-m,elf_i386 sizes.o the result is: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status there is some confusion in the man pages as to whether the correct 32 bit emulation is elf_i386 or i386linux so: gcc -os...
2012 Oct 28
4
[LLVMdev] How to disable or override libgcc when linking?
Hi, I'm using compiler-rt to build the library to replace libgcc. How can I disable -lgcc being added and passed to the linker? When I use: "clang -ccc-gcc-name arm-cross-g++ hello.c -Lmypath -lmylib -v" -lgcc is always added: "...gcc/arm-none-linux-gnueabi/4.6.1/collect2 ... /tmp/hello-Pj9QxO.o -lgcc ..." How can I disable or override libgcc from the command lin...
2015 Feb 27
1
[LLVMdev] clang\clang++ 3.6.0 don't find C\C++ header , in windows ?
..../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../...
2009 Sep 18
0
[LLVMdev] OT: intel darwin losing primary target status
...bugzilla comments shows: /sw/lib/gcc4.5/lib/libgcc_s.1.dylib (compatibility version 1.0.0, being used. That will not work. All of the libgcc_s.dylib functionality has been subsumed into libSystem.dylib on SnowLeopard (darwin10). The gcc compiler that shipped with SnowLeopard leaves the -lgcc_s off the link line when targeting SnowLeopard. If there is a newer libgcc_s with new functions added, then the link line needs to change to "-lSystem -lgcc_s", that way the linker will find the most routines in libSystem.dylib and only the new functions from libgcc_s.dylib. Th...
2009 Sep 18
2
[LLVMdev] OT: intel darwin losing primary target status
I realize this is off-topic for the list, but I thought all the darwin developers here might want to be aware of this. The current regressions in gcc trunk regarding exception handling has been escalated to a P1 in order to attract darwin developers to the issue... http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41260#c31 If these regressions aren't fixed before gcc 4.5's release, it appears
2014 Feb 05
2
[LLVMdev] Using Compiler-RT with Clang on ARM
Hi Daniel, I'm trying to use the feature you added to Clang a long time ago (2011), the --rtlib=compiler-rt and it doesn't seem to do anything. Now that I have compiler-rt building on ARM and the archive libraries under /lib, I'd like to replace -lgcc with -lclang_rt, but this command line: $ clang --rtlib=compiler-rt -Wl,-lclang_rt foo.c Gives me the warning/errors: clang-3.5: warning: argument unused during compilation: '--rtlib=compiler-rt' /usr/bin/ld: error: cannot find -lclang_rt The library path for compiler-rt is missing and -...
2009 Sep 18
0
[LLVMdev] OT: intel darwin losing primary target status
....dylib has magic symbols in it that say if you are targeting 10.6 then _Unwind_Resume (and other other symbols) are not in that dylib, so the linker looks elsewhere and finds them in libSystem.B.dylib. In other words, the compiler changes to SnowLeopard to omit /re-order the linking with -lgcc_s when targeting 10.6 was just an optimization and not required. So, when these test cases are run, is the binary linked against /usr/ lib/libgcc_s.10.5.dylib? or against some just built libgcc_s. 10.5.dylib? or against some just build libgcc_s.dylib? If either of the latter, then if you ch...
2019 Apr 12
2
Failed to replace stdlibc++ with libc++, linker phase error
...libc++', why is it complaining about libstdc++? 2. How can we resolve this error? (any ideas would be appreciated!) 3. Is there anything missing if we'd like to replace stdlibc++ with libc++? 4. I also noticed when it's in linker phase, these flags were set in the ld command (-lc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc ), which we didn't have them setup anywhere in our project, just out of curiosity, are they added automatically? Why are they needed? A little bit more details: Environment: CentOS Linux release 7.6.1810 (Core) Clang version: clang version 5.0.1 (tags/RELEASE_501/fin...
2011 Sep 02
1
[LLVMdev] does new EH require newer linker?
...ned suppress -o libvmd.dylib -ldylib1.10.5.o -L/sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1 -L/sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1/../../.. dpApi.o vmd.o vmdInter.o tclStream.o dpStream.o ssStream.o publicVMDInter.o thread.o -lcrypto -lstdc++ -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lSystem /sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1/crtfastmath.o -v [MacPro:~/xplor-nih-2.27/vmd/bin.Darwin_11_x86_64] howarth% gdb /usr/bin/ld GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011) Copyright 2004 Free Software Foundation, Inc....
2020 Feb 04
2
CMakeTestCCompiler fails
...[2/2] Linking C executable cmTC_35cb3 FAILED: cmTC_35cb3 : && /home/usr4/c74014i/opt/clang/current/bin/clang CMakeFiles/cmTC_35cb3.dir/testCCompiler.c.o -o cmTC_35cb3 && : /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-11: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:49 (projec...
2003 Mar 29
1
compling errors for sun unix (PR#2702)
...is2.6/egcs-2.92.21/crt1.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crti.o /usr/ccs/lib/values-Xa.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crtbegin.o -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib -lg2c -lm -lgcc -lc -lgcc /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crtend.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crtn.o ld: Software Generation Utilities - Solaris-ELF (4.0) ld: fatal: library -lg2c: not found ld: fatal: library -lgcc: not found ld: fatal: library -lgcc: not fou...
2014 Nov 30
3
[LLVMdev] How to fix bug
...ase 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 (use -v to see invocation) Best regards, Huy Mobile: 01668178291 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attac...
2011 Apr 17
1
[Debian 64Bits]Unable to install wine
...n searching for -lc /usr/bin/ld: skipping incompatible //usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible //usr/lib/libc.a when searching for -lc /usr/bin/ld: cannot find -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.5.2/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.5.2/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../libc.so when searching for -lc /usr/bin/ld: s...
2010 Dec 28
1
[LLVMdev] llvm with non-standard gcc location
...e /usr/include End of search list. "/usr/bin/ld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/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 un...
2010 Jun 28
2
[LLVMdev] libLLVMgold.so: could not load plugin library
...-plugin-opt=as=as --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbegin.o -L$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1 -L$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../.. /tmp/ccnyauaa.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtend.o /usr/lib/crtn.o $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld: error: $LLVMGCCPREFIX/libexec/gcc/i686-pc-linux-gnu/4.2.1/...
2012 May 23
3
[LLVMdev] problem on clang+gold
...1.2/../../.. -L/lib -L/usr/lib -plugin /path/to/my/llvm/../lib/LLVMgold.so -plugin-opt=also-emit-llvm ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o filter.o regex.o -lm -L /s/gcc-4.3.1/lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i386-redhat-linux/4.1.2/crtend.o /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crtn.o and got errors like: /path/to/my/gold/ld: error: dfa.o: multiple definition of 'vprintf' /path/to/my/gold/ld...