[cfe-dev] freebsd-mips64 unhandled .cpsetup

Sean Bruno sbruno at ignoranthack.me
Thu Feb 5 09:00:34 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I'm taking a journey to try and get a clang/llvm build of freebsd-mips64
completed by grabbing various patches and enhancements from around the
internet and get them into one central place for review by all
concerned.  (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197259#c11)

I've snagged some patches for MIPS from cheri-bsd and some from pending
MIPS reviews in phabricator but seem to be stuck on handling .cpsetup
when building gnu csu bits, specifically:

End of search list.
<inline asm>:6:20: error: expected identifier
        .cpsetup $31, $2, 1b
                          ^
Assertion failed: (!Name.empty() && "Normal symbols cannot be
unnamed!"), function GetOrCreateSymbol, file
/home/sbruno/bsd/clang360-import/lib/clang/libllvmmc/../../../contrib/llvm/lib/MC/MCContext.cpp,
line 101.


Obviously, this is handled by gcc "just fine" in our case, but I'm more
interested in moving forward to clang.  :-)

sean
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJU06GuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kBLkH/2y93k8G7Unc+ryiuTiO85r+
ONLRqawi5wYP+XDb6Bv8NqB19qtXBHl/1FzCmj33D2DPb8CyQgLoOAuWIfcfdNwd
30WLxl9jeNztEeo1YJdaFJyAwEFVBqNe3wspOLyFeRHwp0s0msXyv1oEMtwJhk++
RsCLTSDDcsNDMVdanI7z9CeoqgR2x1drgySF1qqcncAD4UH1HjxOlUesAfwb47Sz
BpqU1ks9EPSQ/OW0Xv/oF+izFsbIk5zXXpjAlzYTKQCQ3E9aUPZQ6iyZ1uVFBOq9
jcPhLCTmF435bGTRJreUb//igG/D9rKyKoCdSwwioC/zjGx260go9TaJFNUHEpQ=
=wins
-----END PGP SIGNATURE-----






More information about the cfe-dev mailing list