[haiku-bugs] [Haiku] #12214: [runtime_loader] can't find libgcc_s.so.1 when LD_PRELOAD is used

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Thu, 16 Jul 2015 18:41:04 -0000

#12214: [runtime_loader] can't find libgcc_s.so.1 when LD_PRELOAD is used
-----------------------------------+------------------------------
Reporter: diver | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/runtime_loader | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
-----------------------------------+------------------------------
hrev49408.

The following command used to work without errors:

{{{
LD_PRELOAD=/system/lib/x86/libroot_debug.so /system/apps/WebPositive
http://depot.haiku-os.org
runtime_loader: Cannot open file libgcc_s.so.1: No such file or directory
}}}

{{{
LD_PRELOAD="/boot/system/lib/x86/libgcc_s.so.1
/system/lib/x86/libroot_debug.so" /system/apps/WebPositive http://depot
.haiku-os.org
runtime_loader: /boot/system/lib/x86/libgcc_s.so.1: Could not resolve
symbol 'pthread_cancel'
resolve symbol "pthread_cancel" returned: -2147478780
runtime_loader: /boot/system/lib/x86/libgcc_s.so.1: Troubles relocating:
Symbol not found
runtime_loader: Cannot open file libgcc_s.so.1: No such file or directory
}}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/12214>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: