Assembler error on FreeBSD 9.1, toolchain problem?

Mike Duigou mike.duigou at oracle.com
Fri Aug 9 19:32:12 UTC 2013


On Aug 8 2013, at 22:57 , David Holmes wrote:

> On 9/08/2013 3:31 PM, Henry Jen wrote:
>> 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.

Is this just a consequence of most MacOS filesystems being case insensitive?

Mike

> Thanks Henry - mystery solved. And our other gcc compiled .s files don't contain macros.
> 
> David
> 
>> 
>> 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