Opened 11 years ago

Closed 11 years ago

#2106 closed bug (fixed)

pthread_sigmask not implemented

Reported by: andreasf Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

Ever since updating my apr 0.9.x builds for i586-pc-haiku (and thus getting libapr.so) I get this whenever something's trying to use libapr.so:

elf_resolve_symbol: could not resolve symbol 'pthread_sigmask'
resolve symbol "pthread_sigmask" returned: -2147478780
runtime_loader: troubles relocating: 0x80001304 (image: libapr.so.0)

I cannot remember seeing such an issue while using my own patched libtool with --build=i586-pc-beos, some time before the Optional Packages. I checked for occurrences of beos in configure.in etc. so I don't think it's something I've forgotten.

pthread_sigmask is being declared in the signal.h header but apparently only referenced in the Posix test suite; I cannot find an implementation anywhere. Is it missing or some magic going wrong here?

Change History (2)

comment:1 Changed 11 years ago by andreasf

Component: - GeneralSystem/libroot.so
Summary: pthread_sigmask relocation issuepthread_sigmask not implemented

Okay, when compiling a static Subversion it now comes up as undefined reference. (Seems this part of code hasn't been used before for some reason.)

So it is the function's implementation missing. Moving bug to libroot.

comment:2 Changed 11 years ago by korli

Resolution: fixed
Status: newclosed

Provided in hrev25085 as a call to sigprocmask(). Hope it's ok.

Note: See TracTickets for help on using tickets.