Open Quuxplusone opened 9 years ago
Attached algparam.s
(733919 bytes, application/octet-stream): algparam.s file (temporary artifact)
Attached algparam.ii
(583106 bytes, application/octet-stream): algparam.ii file (temporary artifact)
I don't think -no-integrated-as is supported at all on OS X. I get way more
errors:
algparam.s:2:Unknown pseudo-op: .macosx_version_min
algparam.s:2:Rest of line ignored. 1st junk character valued 49 (1).
algparam.s:39:Unknown pseudo-op: .cfi_startproc
algparam.s:43:Unknown pseudo-op: .cfi_def_cfa_offset
algparam.s:43:Rest of line ignored. 1st junk character valued 49 (1).
...
Jim, should we just start producing an error in the clang driver if -no-
integrated-as is used on OS X?
In newer clang on Darwin -no-integrated-as means "generate a .s file first, then assemble it" rather than "use the old assembler."
There are some crazy projects (mainly open source stuff on macports/homebrew style stuff, I think) that use that w/ a shim script to do processing on the .s file in-flight. They're terrible, terrible things I use to frighten young engineers on dark and stormy nights.
(In reply to comment #3)
> In newer clang on Darwin -no-integrated-as means "generate a .s file first,
> then assemble it" rather than "use the old assembler."
With current trunk I still see clang running
/usr/bin/as" -Q -arch x86_64 -force_cpusubtype_ALL -o algparam.o algparam.s
It's /usr/bin/as that's changing.
algparam.s
(733919 bytes, application/octet-stream)algparam.ii
(583106 bytes, application/octet-stream)