https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231926
Bug ID: 231926 Summary: ldd can't operate on a segfaulting binary Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: arr...@freebsd.org When compiling lang/ghc port on FreeBSD 12, an executable named ghc-iserv-prof gets corrupted by some unrelated bug and segfaults when being launched. During `make stage-qa` the following command is called by qa.sh: env LD_LIBMAP_DISABLE=1 ldd -a /wrkdirs/usr/ports/lang/ghc/work/stage/usr/local/lib/ghc-8.4.3/bin/ghc-iserv-prof This command also results in a segfault with the same message: /wrkdirs/usr/ports/lang/ghc/work/stage/usr/local/lib/ghc-8.4.3/bin/ghc-iserv-prof: signal 11 I'm not sure if this is a bug in ldd, but I've got an impression that it shouldn't segfault even when given a broken executable. To reproduce on FreeBSD 12: # pkg install ghc # env LD_LIBMAP_DISABLE=1 ldd -a /usr/local/lib/ghc-8.4.3/bin/ghc-iserv-prof -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"