Displaying 20 results from an estimated 145 matches for "__cxa_atexit".
2017 Aug 01
2
[RFC] Profile guided section layout
..._7ELFTypeILNS0_7support10endiannessE1ELb1EEELb1EEElN9__gnu_cxx5__ops15_Iter_comp_iterIPFbRKS7_SD_EEEEvT_SH_T0_T1_ res_thread_freeres
1134 _ZNK4llvm6object19ArchiveMemberHeader7getNameEm strlen
1134 _ZNK4llvm6object19ArchiveMemberHeader7getNameEm _ZN4llvm20getAsUnsignedIntegerENS_9StringRefEjRy
1071 __cxa_atexit __new_exitfn
967 _ZN4llvm14object_deleterINS_2cl10SubCommandEE4callEPv __cfree
960 _ZN12_GLOBAL__N_117CommandLineParser9addOptionEPN4llvm2cl6OptionEPNS2_10SubCommandE __memmove_sse2_unaligned
960 _ZN12_GLOBAL__N_117CommandLineParser9addOptionEPN4llvm2cl6OptionEPNS2_10SubCommandE __malloc
960 _ZN12_...
2017 Jul 31
2
[RFC] Profile guided section layout
A rebased version of the lld patch is attached.
Cheers,
Rafael
On 31 July 2017 at 15:11, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> Tobias Edler von Koch <tobias at codeaurora.org> writes:
>
>> Hi Rafael,
>>
>> On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote:
>>> However, do we need to start with
2004 Oct 21
6
wine-20041019 build failed
This is my error message:
make[2]: Entering directory `/home/jrt/wine-20041019/dlls/kernel'
/usr/local/bin/gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__
-D_KERNEL32_ -DETCDIR="\"/usr/local/etc\"" -D_REENTRANT -fPIC -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith
-I/usr/local/ssl/include -I/usr/gnome2/include
2004 Dec 14
3
make check-all failed on SLES8 for x86_64
...cal-prefix=/usr/local --infodir=/opt/gcc33/share/info
--mandir=/opt/gcc33/share/man --libdir=/opt/gcc33/lib64
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/opt/gcc33/include/g++
--with-slibdir=/lib64 --with-system-zlib --enable-shared
--enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.3 20030312 (prerelease) (SuSE Linux)
compiled with the following setting:
R is now configured for x86_64-unknown-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -g -O2
C++ co...
2011 Sep 09
3
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...i8] c"Foo\0A\00"
@llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @_GLOBAL__I_a }]
define internal void @__cxx_global_var_init() nounwind section "__TEXT,__StaticInit,regular,pure_instructions" {
call void @_ZN3FooC1Ev(%class.Foo* @foo)
%1 = call i32 @__cxa_atexit(void (i8*)* bitcast (void (%class.Foo*)* @_ZN3FooD1Ev to void (i8*)*), i8* bitcast (%class.Foo* @foo to i8*), i8* bitcast (i8** @__dso_handle to i8*))
ret void
}
define linkonce_odr void @_ZN3FooC1Ev(%class.Foo* %this) unnamed_addr nounwind align 2 {
%1 = alloca %class.Foo*, align 4
store %clas...
2007 Feb 12
3
[LLVMdev] LLVM Build/install error?
.../usr/bin/gcc-4.0 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.4 20060730 (prerelease) (Debian 4.0.3-6)
/us...
2012 Jul 15
3
[LLVMdev] Compiling llvm and Clang on Linux
...built-in specs.
Target: i386-redhat-linux6E
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --disable-gnu-unique-object
--with-as=/usr/libexec/binutils220/as --enable-languages=c,c++,fortran
--disable-libgcj
--with-mpfr=/builddir/build/BUILD/gcc-4.4.6-20110824/obj-i386-redhat-linux6E/mpfr-install/
--with-ppl=/builddir/build/BUILD/gcc-4.4.6-20110824/obj-i386...
2008 Nov 03
2
[LLVMdev] cross compiling using llvm 1.8
...ter.o:
In function `_Z41__static_initialization_and_destruction_0ii':
AsmWriterEmitter.cpp:(.text+0x70): undefined reference to
`_ZNSt8ios_base4InitC1Ev'
AsmWriterEmitter.cpp:(.text+0x78): undefined reference to `__dso_handle'
AsmWriterEmitter.cpp:(.text+0x8c): undefined reference to `__cxa_atexit'
AsmWriterEmitter.cpp:(.text+0x94): undefined reference to
`_ZN4llvm19SupportIsInfLinkVarE'
AsmWriterEmitter.cpp:(.text+0xa0): undefined reference to
`_ZN4llvm11IncludeFileC1EPv'
AsmWriterEmitter.cpp:(.text+0xa8): undefined reference to
`_ZN4llvm19SupportIsNANLinkVarE'
AsmWriterE...
2018 Jun 14
3
runStaticConstructorsDestructors() causes crash on exit
...ors(false);
exec_engine->runFunctionAsMain(function, argvec, NULL);
execution still works, but my program crashes when it exits, in
__run_exit_handlers(). I can't tell from gdb what exit handler is crashing,
but no calls are made to atexit() or on_exit(); all exit handlers are
installed via __cxa_atexit().
This may or may not be meaningful, but I am forced to compile with
-fno-use-cxa-atexit, otherwise clang complains that __dso_handle could not
be resolved.
Any guidance would be MUCH appreciated. I am at a loss... Also, if you know
of a better place to look for help than this mailing list, that...
2012 Jul 15
0
[LLVMdev] Compiling llvm and Clang on Linux
...et: i386-redhat-linux6E
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
> --enable-bootstrap --enable-shared --enable-threads=posix
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --disable-gnu-unique-object
> --with-as=/usr/libexec/binutils220/as --enable-languages=c,c++,fortran
> --disable-libgcj
> --with-mpfr=/builddir/build/BUILD/gcc-4.4.6-20110824/obj-i386-redhat-linux6E/mpfr-install/
>
> --with-ppl=/builddir/build/BUIL...
2011 Sep 09
0
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...ot;
> @llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @_GLOBAL__I_a }]
>
> define internal void @__cxx_global_var_init() nounwind section "__TEXT,__StaticInit,regular,pure_instructions" {
> call void @_ZN3FooC1Ev(%class.Foo* @foo)
> %1 = call i32 @__cxa_atexit(void (i8*)* bitcast (void (%class.Foo*)* @_ZN3FooD1Ev to void (i8*)*), i8* bitcast (%class.Foo* @foo to i8*), i8* bitcast (i8** @__dso_handle to i8*))
> ret void
> }
>
> define linkonce_odr void @_ZN3FooC1Ev(%class.Foo* %this) unnamed_addr nounwind align 2 {
> %1 = alloca %class.Fo...
2010 Jan 25
3
[LLVMdev] cannot find -lgcc_s
...ith-gnu-ld --target=i686-linux --with-as=/local/tools/lin32/binutils-2.17.50.0.15/bin/i686-linux-as --with-ld=/local/tools/lin32/binutils-2.17.50.0.15/bin/i686-linux-ld --enable-llvm=/local/tools/src/llvm-gcc4.2-2.6/build-i686-linux-llvm/objdirllvm --program-prefix=llvm- --enable-libffi=no --enable-__cxa_atexit --with-sysroot=/local/tools/lin32/glibc-2.2.5-44 --disable-tls --enable-clocale=gnu
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build)
I do a make bootstrap and make install after configure.
But when I try to run this gcc I get
$ /local/tools/lin32/llvm-gcc4.2-...
2007 Feb 12
0
[LLVMdev] LLVM Build/install error?
...ing built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --enable-languages=c,c++,java
> --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-java-awt=gtk-default
> --enable-gtk-cairo
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
> --with-tune=i686 --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.0.4 20060730 (prerele...
2017 Nov 23
1
JIT and atexit crash
Hi,
Not sure whether this matches your use case, but the Orc-based JIT used
in LLI appears to be using `llvm::orc::LocalCXXRuntimeOverrides`
(http://llvm.org/doxygen/classllvm_1_1orc_1_1LocalCXXRuntimeOverrides.html)
to override `__cxa_atexit`:
https://github.com/llvm-mirror/llvm/blob/release_50/tools/lli/OrcLazyJIT.h#L74
https://github.com/llvm-mirror/llvm/blob/release_50/tools/lli/lli.cpp#L631
Best,
Matt
On 11/23/2017 19:49, Stefan Gränitz via llvm-dev wrote:
> Maybe the easiest workaround would be overriding symbol resolution...
2007 Mar 06
0
Flac 1.1.4 decoding time increase
...VIA Samuel 2 533MHz.
[nmizel@sirius flac-1.1.4]$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
[nmizel@sirius flac-1.1.4]$ grep -i nasm configure.log
checking for nasm... no
-- HP ProLiant ML570 G3 running Red Hat Enterprise Linux AS release 4,
2.6.9...
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
...l klibc-0.184]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --disable-libunwind-exceptions --with-system-zlib
--enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
=====
Jon Smirl
jonsmirl@yahoo.com
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
2019 Jan 05
2
Undefined symbols with inline functions using the ORC JIT on Linux
...ution is to migrate
my code to the new lazy orc jit. Unfortunately, even the simplest example
does not work on Windows:
int main() { return 0; }
This is the output:
JITDylib "<main>" (ES: 0x000001b6e4ad3670):
Search order: [ ("<main>", all) ]
Symbol table:
"__cxa_atexit": <not resolved> ( Lazy (MU=0x1b6e4ae3110), [Data] )
"main": <not resolved> ( Lazy (MU=0x1b6e4ae7f10), [Callable] )
"__dso_handle": <not resolved> ( Lazy (MU=0x1b6e4ae3110), [Data] )
I run with these arguments, and I checked and -fno-use-cxa-atexi...
2008 Nov 03
0
[LLVMdev] cross compiling using llvm 1.8
Hi,
> AsmWriterEmitter.cpp:(.text+0x78): undefined reference to `__dso_handle'
> AsmWriterEmitter.cpp:(.text+0x8c): undefined reference to `__cxa_atexit'
This is not connected with that warning. Something is wrong with your
compiler / linker. Either it does not provide needed libraries, or
broken in other way.
> AsmWriterEmitter.cpp:(.text+0x25e): undefined reference to `_ZNSsC1ERKSs'
these came from libstdc++
> AsmWriterEmitter.cpp...
2010 Jan 27
0
[LLVMdev] cannot find -lgcc_s
...ith-gnu-ld --target=i686-linux --with-as=/local/tools/lin32/binutils-2.17.50.0.15/bin/i686-linux-as --with-ld=/local/tools/lin32/binutils-2.17.50.0.15/bin/i686-linux-ld --enable-llvm=/local/tools/src/llvm-gcc4.2-2.6/build-i686-linux-llvm/objdirllvm --program-prefix=llvm- --enable-libffi=no --enable-__cxa_atexit --with-sysroot=/local/tools/lin32/glibc-2.2.5-44 --disable-tls --enable-clocale=gnu
> Thread model: posix
> gcc version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build)
>
> I do a make bootstrap and make install after configure.
>
> But when I try to run this gcc I get
>...
2011 May 23
1
[LLVMdev] library functions
...em header-file definitions have the internal
keyword.
For example,
define internal void @__cxx_global_var_init() section
"__TEXT,__StaticInit,regular,pure_instructions" {
entry:
call void @_ZNSt8ios_base4InitC1Ev(%"class.std::ios_base::Init"*
@_ZStL8__ioinit)
%0 = call i32 @__cxa_atexit(void (i8*)* bitcast (void
(%"class.std::ios_base::Init"*)* @_ZNSt8ios_base4InitD1Ev to void (i8*)*),
i8* getelementptr
inbounds (%"class.std::ios_base::Init"* @_ZStL8__ioinit, i32 0, i32 0), i8*
bitcast (i8** @__dso_handle to i8*))
ret void
}
On Mon, May 23, 2011 at 2:24 PM,...