Various libgloss problems after recent changes

Jeff Law jeffreyalaw@gmail.com
Fri Feb 10 16:54:23 GMT 2023



On 2/10/23 04:21, Richard Earnshaw wrote:
> 
> 
> On 09/02/2023 22:54, Jeff Johnston wrote:
>> Hi Jeff,
>>
>> Want to try out the attached patch?
>>
>> -- Jeff J.
>>
>>
>> On Sun, Feb 5, 2023 at 7:48 PM Jeff Law <jeffreyalaw@gmail.com> wrote:
>>
>>> The fr30-elf and xstormy16-elf ports have been failing to build for
>>> about a month with this error:
>>>
>>>    > fr30-elf-as  -I. -I../../../../..//newlib-cygwin/libgloss/fr30/..
>>> -I./.. -idirafter
>>> ../../../../..//newlib-cygwin/libgloss/fr30/../../include  -o crt0.o
>>> ../../../../..//newlib-cygwin/libgloss/fr30/crt0.s
>>>> fr30-elf-as: unrecognized option '-idirafter'
>>>
>>>
>>> For a full log:
>>>
>>> http://law-sandy.freeddns.org:8080/job/fr30-elf/1984/console
>>>
>>> Hopefully this is easy to fix so we can get those ports under regular
>>> testing again.
>>>
>>> Jeff
>>>
>>>
> 
> I'm slightly confused.  Why would some ports have -idirafter and some 
> not, unless they're not using GCC (or a very old one).
No clue.  FWIW, the tester is using the tip if the trunk for all the 
components (binutils, gcc, newlib/glibc).   I'm highly confident we're 
not picking up old tools as the builds occur in a docker container, so 
there's no pre-existing cross-tools installed.  The host compiler in 
those containers is roughly a year old.

jeff


More information about the Newlib mailing list