search for: libsupc++

Displaying 20 results from an estimated 70 matches for "libsupc++".

2015 Feb 21
4
[LLVMdev] [cfe-dev] [RFC] When can libc++ "officially" support linux?
On Fri, Feb 20, 2015 at 7:02 PM, Hal Finkel <hfinkel at anl.gov> wrote: > > 2. We need to clarify how libstdc++ and libsupc++ can be used as > > libc++'s ABI library and explicitly define the level of support for > > these configurations. Are there any people using this functionality? > > These configurations have been broken for GCC >= 4.9.2 and I haven't > > heard any complaints. I w...
2014 May 01
2
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
...this kind of support and they even use the same core components of my GNU/Linux distribution. You are right, in the end I get this warnings but how I'm supposed to fill the voids ? In other words why I should user libc++ under linux and what are the benefits ? I should go for libstdc++ and libsupc++ ? Il Giovedì 1 Maggio 2014 3:49, Jonathan Roelofs <jonathan at codesourcery.com> ha scritto: +cfe-dev Emanuele, On 4/30/14, 6:07 PM, Emanuele Cestari wrote: > Hi, > I'm under Ubuntu 13.10 amd64 I just compiled both my libcxx and my libcxxabi. > > I noticed this really we...
2013 Jul 28
0
[LLVMdev] libcxx support library
Hi, I would like to install clang 3.3 with libc++ on Linux where g++4.4 is currently the default/only toolchain. I'm not sure how to choose the best support library: libsupc++/libc++abi/libcxxrt. Concerning libsupc++, I noticed this: http://lists.cs.uiuc.edu/pipermail/llvmbugs/2012-August/024800.html Are there other issues with using libsupc++? Doesn't it even make sense to use libsupc++ 4.4 with libc++ when I need C++11 support? What would be the limitations usin...
2010 Apr 17
1
[LLVMdev] Compiling LLVM on SPARC
...VM-GCC also compiles farther than any previous version for trunk. However, eventually, I encounter the following assertion failure in llvm: Assertion failed: Offset >= 0, file /space/home/skou/llvm-trunk/lib/Transforms/InstCombine/InstructionCombining.cpp, line 387 ../../../../libstdc++-v3/libsupc++/unwind-cxx.h: In function '__cxxabiv1::__cxa_exception* __cxxabiv1::__get_exception_header_from_ue(_Unwind_Exception*)': ../../../../libstdc++-v3/libsupc++/unwind-cxx.h:171: internal compiler error: Abort I checked, and the "Offset" variable at this point in the source file...
2014 May 01
2
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
...clearly some discrepancy between the 2 projects, plus libcxx is stepping in the libcxxabi way and IMHO it shouldn't . What I would like to know is: there is a good reason for this or it's a bug ? Aside from that, libcxxabi is able to provide a complete ABI implentation under linux without libsupc++ and libstdc++ ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140501/16c0cf20/attachment.html>
2006 Nov 20
4
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
I've compiled all the object files that make up libstdc++ and libsupc++ into LLVM bytecode: http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB) A simple test program, x.cpp: #include <iostream> int main() { std::cout << "hello world\n"; return 0; } $ llvm-g++ -emit-llvm -c x.cpp $ llvmc -o=out x.o std/*.o sup/*.o $ lli out.bc Segm...
2015 Feb 21
2
[LLVMdev] [RFC] When can libc++ "officially" support linux?
...ort for building libc++ against a static libc++abi. If libc++ is linked to a shared libc++abi the resulting library can only be used when libc++abi is manually linked by the user. We should strongly prefer building libc++ against a static libc++abi on linux. 2. We need to clarify how libstdc++ and libsupc++ can be used as libc++'s ABI library and explicitly define the level of support for these configurations. Are there any people using this functionality? These configurations have been broken for GCC >= 4.9.2 and I haven't heard any complaints. I would like to drop these configurations a...
2014 Feb 28
6
[LLVMdev] Unifying Windows Target Triples
Hi, After a discussion with David, Id like to propose a rework of the Windows target triples. The current set of Windows triples are somewhat less uniform than their Linux counterparts. With multiple ABIs and environments on Windows, they are also slightly awkward. Obviously, certain ones might be nice to keep around for compatibility (e.g. the mingw triple). Just to ensure that everyone has
2004 Nov 14
2
[LLVMdev] IMPORTANT: llvm-ar requirements
...ly for the crtend.a library, but not for the runtime libraries produced by the C/C++ Front End. In order to get your programs to link again, you *must* do the following *after* rebuilding with the latest CVS sources: cd $CFEINSTALL cd lib llvm-ranlib libiberty.a llvm-ranlib libstdc++.a llvm-ranlib libsupc++.a llvm-ranlib gcc/*/*/libgcc.a llvm-ranlib gcc/*/*/libgcov.a This will ensure that the archives built by CFE will have LLVM style bytecode symbol tables in them. Reid. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signatu...
2005 May 25
5
[LLVMdev] LLVM Cygwin Run Errors
...*************************** u0201201 at 9nnvf2ay /home/cfrontend/install/lib $ llvm-ranlib libiberty.a llvm-ranlib: Error opening archive file: libiberty.a **************************************************************** This happens to llvm-ranlib libiberty.a, llvm-ranlib libstdc++.a, llvm-ranlib libsupc++.a too. May I know what is the cause and how to solve it? (I saw a post similar to this, but there is no solution provided.) Another problem is when I run hello.c which is #include <stdio.h> int main() { printf("hello world\n"); return 0; } I got this, *******...
2007 Feb 25
6
Crash occurs where EventMachine.connect is
...0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7d1a770 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7d1bef3 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7b34520 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:97 #4 0xb7b31f55 in __cxxabiv1::__terminate ( handler=0xb7b343d0 <__gnu_cxx::__verbose_terminate_handler()>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43 #5 0xb7b31f92 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53...
2012 Nov 29
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
+glider The compiler hardly matters here, I would expect the same failures with clang. Alex, could you please take a look? --kcc On Thu, Nov 29, 2012 at 9:55 PM, Jack Howarth <howarth at bromo.med.uc.edu>wrote: > Nick, > Can you take a quick look at the asan_eh_bug.tar.bz testcase > I uploaded into the newly opened radr://12777299, "potential > pthread/eh bug exposed
2017 Jun 06
3
libc++ failed to link against musl
...bc++ whether you actually want to link to libc++abi. If you’re on a GNUish system, you almost certainly don’t, because you then won’t be able to combine libc++ and libstdc++ in the same binary. You want to add -lstdc++ to the link line (or, ideally, -lsupc++, if your distribution ships a separate libsupc++.so). On FreeBSD, we don’t link libc++ to any ABI library. Instead, both libc++.so and libstdc++.so are linker scripts that instruct anything that tries to link libc++ to link libc++.so.{version} and libcxxrt.so.{version}. David
2011 Feb 28
0
[LLVMdev] Building clang with mingw/msys/gcc 4.4
...locate the header files. clang managed to build my large (personal) project, forcing me to fix some syntax errors gcc allowed. Linking ran into a single multiple definition error: d:/super/dump/mingw/mingw/bin/../lib/gcc/mingw32/4.4.0/libstdc++.a(tinfo.o):C:\MinGW\src\gccbf\mingw32\libstdc++-v3\libsupc++/../../../../gcc-4.4.0/libstdc++-v3/libsupc++/tinfo.cc:40: multiple definition of `std::type_info::operator==(std::type_info const&) const' objs/test/LoadSave.o:fake:(.text$_ZNKSt9type_infoeqERKS_[std::type_info::operator==(std::type_info const&) const]+0x0): first defined here This s...
2006 Nov 20
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote: > I've compiled all the object files that make up libstdc++ and libsupc++ > into LLVM bytecode: > http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB) > > A simple test program, x.cpp: > > #include <iostream> > int main() { std::cout << "hello world\n"; return 0; } > > $ llvm-g++ -emit-llvm -c x.cpp > $...
2012 Nov 29
3
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
Nick, Can you take a quick look at the asan_eh_bug.tar.bz testcase I uploaded into the newly opened radr://12777299, "potential pthread/eh bug exposed by libsanitizer". The FSF gcc developers have ported llvm.org's asan code into FSF gcc (and are keeping it synced to the upstream llvm.org code). I have been helping with the darwin build and testing -fsanitize=address against the
2016 Jul 28
0
[RFC] One or many git repositories?
.... Clang needs something equivalent to libc++ and something equivalent to libunwind, but it doesn’t (or, at least, shouldn’t) need a specific version of LLVM’s implementations of these. In contrast, clang needs a bunch of LLVM libraries and depends on precise versions. In FreeBSD, we used to ship libsupc++, libstdc++ and GCC’s libunwind. We then switched to shipping libcxxrt, libstdc++, and GCC’s libunwind, then to shipping libcxxrt, libc++, and GCC’s libunwind, and are now switching to shipping libcxxrt, libc++, and LLVM’s libunwind. We build all of these with clang and gcc. When we import a ne...
2005 May 25
0
[LLVMdev] LLVM Cygwin Run Errors
...0201201 at 9nnvf2ay /home/cfrontend/install/lib > $ llvm-ranlib libiberty.a > llvm-ranlib: Error opening archive file: libiberty.a > > **************************************************************** > This happens to llvm-ranlib libiberty.a, llvm-ranlib libstdc++.a, > llvm-ranlib libsupc++.a too. May I know what is the cause and how to > solve it? (I saw a post similar to this, but there is no solution > provided.) > > > Another problem is when I run hello.c which is > #include <stdio.h> > int main() { > printf("hello world\n"); >...
2018 Jan 11
1
LLVM EH tables much larger than GCC's
...pty call site table for func3: #include <stdio.h> struct A { ~A() { fprintf(stderr, "~A\n"); } }; void func1() { throw 0; } void func2() { A a; func1(); } void func3() noexcept { func2(); } int main() { func3(); } Compiling for either x86 or x86_64 Ubuntu, using g++ with libstdc++/libsupc++, the program still calls ~A. On the other hand, ~A isn't called if I build with g++ and libc++/libc++abi. I think I'm not motivated enough to work on changing this LLVM behavior. The ULEB128 encoding change is more interesting to me. Right now, I think the biggest problem with that chang...
2004 Nov 15
0
[LLVMdev] IMPORTANT: llvm-ar requirements
...runtime > libraries produced by the C/C++ Front End. In order to get your programs > to link again, you *must* do the following *after* rebuilding with the > latest CVS sources: > > cd $CFEINSTALL > cd lib > llvm-ranlib libiberty.a > llvm-ranlib libstdc++.a > llvm-ranlib libsupc++.a > llvm-ranlib gcc/*/*/libgcc.a > llvm-ranlib gcc/*/*/libgcov.a > > This will ensure that the archives built by CFE will have LLVM style > bytecode symbol tables in them. > > Reid. > > ______________________________________________________________________ > _____...