Solaris/illumos builds and Studio dependency
Posted: 2022-10-25, 18:33
I guess this is one for athenian200, but here goes:
In platform/toolkit/library/moz.build (platform is a submodule, I believe) I see:
and I'm just wondering what demangle is doing there - that's the libdemangle from the Sun Studio compilers, and I'm pretty sure that compiling with a gcc toolchain won't use it. Indeed, if I run on libxul.so then it shows that libdemangle isn't actually used.
I *think* removing demangle from there is safe (I wonder if the Solaris builds are the same). Just wondering if there was something I had missed.
(One of the reasons for looking at this is that there are very few things left on illumos that have any dependency on the old Studio toolchain, and I'm trying to eliminate that completely so we can just consign Studio to the dustbin of history.)
In platform/toolkit/library/moz.build (platform is a submodule, I believe) I see:
Code: Select all
if CONFIG['OS_ARCH'] == 'SunOS':
OS_LIBS += [
'elf',
'demangle',
'sendfile',
]
Code: Select all
ldd -urv
I *think* removing demangle from there is safe (I wonder if the Solaris builds are the same). Just wondering if there was something I had missed.
(One of the reasons for looking at this is that there are very few things left on illumos that have any dependency on the old Studio toolchain, and I'm trying to eliminate that completely so we can just consign Studio to the dustbin of history.)