You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly part of the problem is that the native build artifacts are used to speed up building the target build via this in mono-base.inc:
do_install:append() {
install -d ${D}${libdir}/${PN}
for lib in ${MONOLIBS}; do
if [ -d "${STAGING_DIR_NATIVE}${libdir}/${PN}/$lib" ]; then
cp -af --no-preserve=ownership \
${STAGING_DIR_NATIVE}${libdir}/${PN}/$lib ${D}${libdir}/${PN}
fi
done
# AJL - Remove mscorlib.dll.so and mcs.exe.so files copied from mono-native to the mono destination
find ${D}${libdir}/${PN} -name *.dll.so -o -name *.exe.so | xargs -i rm {}
}
The target build for C projects get the -fdebug-prefix-map=src=dst option so whatever file path ends up in *.o, *.so or executables, the mapping will get corrected to use the correct installation file prefix as on a target system.
mcs has a similar switch:
$ mcs --help
...
-pathmap:K=V[,Kn=Vn] Sets a mapping for source path names used in generated output
...
We should
use a correct target build (maybe the native build may still be used? testing is needed) and
patch the build of Mono and any Mono based project's build to use -pathmap:... for compiling EXE/DLL files
No description provided.
The text was updated successfully, but these errors were encountered: