arm64 as(1) does not support input from stdin

Originator:landon.j.fuller
Number:rdar://15162294 Date Originated:06-Oct-2013 09:10 PM
Status:Open Resolved:
Product:Developer Tools Product Version:11A465
Classification: Reproducible:Always
 
Summary:
The arm64 as(1) driver will return a clang error when attempting to assemble input from stdin, or when passed a file with an unexpected file name (eg, neither .s or .S).

Amusingly, arm64's as(1), being a rather direct front-end to clang, will also happily compile C/C++ source files.

Steps to Reproduce:
as -arch arm64 -o assembled_output -

Expected Results:
Standard input is assembled.

Actual Results:
clang: error: -E or -x required when input is from standard input


Version:
11A465

Notes:


Configuration:


Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!