Age | Commit message (Collapse) | Author | Files |
|
check for threading availability.
Since perl-native is used to compile modules, and perl-native is
built with threading enabled, any modules that check for threading
think that it's available. However when you attempt to use the module
on the target it complains about missing symbols (those related to
threading).
The two options to fix this are to enable threading in perl or to
disable it in perl-native. I've tested the later and will use that
since I have some modules that required threading.
This change is still needed for all the other targets.
|
|
targets:
- You cannot link using LD on sh3/sh4, since ld fails to link in the
hidden library of weak symbols that is needed. Ccc knows about this
library and correctly links it in. The generate_config_sh script
was replacing the configred linker with LD from the environment and
the soname patch was passing parameters directly to LD which need
to be passed differently when linking with gcc.
- Any code to go in shared libraries must be compiled with -fPIC,
which while present in the config file was again being replaced
from the environment by the generate_config_sh script.
Both these patches probably should be ok for all targets, but they
would definately need run-time testing. So they are just patched in
for sh3 and sh4 for now.
Also removed the old code I added not to install the shared library
if its not configured since its configured for all targets after this
change.
|
|
programs on the target and they work fine. Sh3 is untested but should be the
same. No perl shared library as toolchain issues prevent this. See bug# 960
for details. Should solve bug# 960.
|