This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/24967] jemalloc static linking causes runtime failure


https://sourceware.org/bugzilla/show_bug.cgi?id=24967

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-09-05
     Ever confirmed|0                           |1

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
_dl_get_origin calls malloc, which in the case of jemalloc calls clock_gettime,
and the pointers to vDSO functions have not been initialized yet at this point.

We may need a minimal malloc for the static linking case as well and call that
until the binary has fully relocated itself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]