Assembler error on FreeBSD 9.1, toolchain problem?

Henry Jen henry.jen at oracle.com
Fri Aug 9 05:31:28 UTC 2013


man gcc on mac,

>        file.s
>            Assembler code.  Apple's version of GCC runs the preprocessor on these files as well as those ending in .S.
> 
>        file.S
>            Assembler code which must be preprocessed.
> 

Cheers,
Henry


On Aug 8, 2013, at 5:36 AM, David Holmes <David.Holmes at oracle.com> wrote:

> On 8/08/2013 10:20 PM, Andrew Haley wrote:
>> On 08/08/2013 01:17 PM, David Holmes wrote:
>>> Trimmed cc list
>>> 
>>> On 8/08/2013 9:07 PM, Andrew Haley wrote:
>>>> On 08/08/2013 11:52 AM, Dmitry Samersoff wrote:
>>>>> For some unknown for me reason, macros in bsd_x86_64.s is not processed.
>>>>> (Makefile issue???)
>>>> 
>>>> It should be called bsd_x86_64.S if this is using GCC.
>>> 
>>> So gcc (llvm-gcc?) on OSX doesn't require this?
>> 
>> I don't understand this question.  AFAIAA it always needs it,
>> on any OS.
> 
> We don't have any problem compiling this on OSX only on FreeBSD - so the compiler on the two systems must have different requirements/expectations.
> 
> David
> 
>> Andrew.
>> 




More information about the build-dev mailing list