charm
charm copied to clipboard
charmc does not make ASM object but call to plain Apple clang call does
Not sure what I am missing with the unix assembly boost module. Only running without charmc will actually make the ASM object.
Meaning this doesn't output an -o *.S.o
object at all:
/Users/brian/tools/NAMD_Git-2022-01-26_Source/charm/build_charm/bin/charmc /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DAMPI_ERRHANDLER_RETURN=0 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -g -o CMakeFiles/boost-context.dir/ontop_x86_64_sysv_macho_gas.S.o -c /Users/brian/tools/NAMD_Git-2022-01-26_Source/charm/src/util/boost-context/ontop_x86_64_sysv_macho_gas.S
but this does:
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DAMPI_ERRHANDLER_RETURN=0 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -g -o CMakeFiles/boost-context.dir/ontop_x86_64_sysv_macho_gas.S.o -c /Users/brian/tools/NAMD_Git-2022-01-26_Source/charm/src/util/boost-context/ontop_x86_64_sysv_macho_gas.S
This only occurred cloning the most recent master repo. I downloaded v7.0.0 and it built the ASM objects fine no problem from the build command.
It believe that PR #3475 changed the default assumptions of charmc
. Future versions (after v7.0.0) will now require passing flags like -c
and -S
explicitly. Also, you may not need to pass gcc
to charmc
. Please let us know if trying those suggestions resolves this issue.
Sure I will try it. I am going to try a few namd tutorials probably before I get to it since I got it compiled. Thanks!