Date: Wed, 02 Sep 2020 21:27:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249070] Using backtrace() from libexecinfo causes program to fail with "libunwind: EHHeaderParser::decodeTableEntry: bad fde: CIE ID is not zero" Message-ID: <bug-249070-227-sEYqqFfHJ7@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249070-227@https.bugs.freebsd.org/bugzilla/> References: <bug-249070-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249070 --- Comment #1 from Nick Briggs <nicholas.h.briggs@gmail.com> --- In case it helps, it's using the generic "ld": $ clang -### -o bt-clang bt.c -lexecinfo FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd12.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/clang" "-cc1" "-triple" "i386-unknown-freebsd12.1" "-emit-obj" "-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "bt.c" "-mrelocation-model" "static" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-mconstructor-aliases" "-fuse-init-array" "-target-cpu" "i486" "-dwarf-column-info" "-debugger-tuning=gdb" "-resource-dir" "/usr/lib/clang/8.0.1" "-fdebug-compilation-dir" "/var/tmp" "-ferror-limit" "19" "-fmessage-length" "159" "-fobjc-runtime=gnustep" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "/tmp/bt-061448.o" "-x" "c" "bt.c" "-faddrsig" "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "bt-clang" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/tmp/bt-061448.o" "-lexecinfo" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" $ $ /usr/bin/ld --version LLD 8.0.1 (FreeBSD 366581-1200008) (compatible with GNU linkers) $ -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249070-227-sEYqqFfHJ7>
