Compiler requires newlib.library V53.68

Have a question about our Software Developer Kit? Ask them here.
Post Reply
User avatar
OldFart
Posts: 100
Joined: Tue Jul 12, 2011 2:56 pm
Location: Groningen, Netherlands

Compiler requires newlib.library V53.68

Post by OldFart »

Hi,

Whilst toying a bit with my developement setup, i.e. the abillity to easily switch between various compilers, I got this partitcular output when using 'gcc-6':

Code: Select all

gcc-6 -DCOMPVERS="GCC_6.4.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX  main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wno-fallthrough -DDEBUG -DGCC -gstabs 
SDK:gcc/ppc-amigaos/bin/libexec/gcc/ppc-amigaos/6.4.0/cc1 requires newlib.library 53.68 or newer!
SDK:gcc/ppc-amigaos/bin/libexec/gcc/ppc-amigaos/6.4.0/cc1 faalt returncode 20
make: *** [ProjecT.DEBUG] Error 1

(Partial output from other contenders:)
gcc-8 -DCOMPVERS="GCC_8.4.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX  main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wimplicit-fallthrough=0  -DDEBUG -DGCC -gstabs 
In file included from main.c:265:
Events/Rx_Events.c: In function 'Rx_Quit':
Events/Rx_Events.c:12:31: warning: unused parameter 'Cmd' [-Wunused-parameter]
 void Rx_Quit(struct ARexxCmd *Cmd, struct RexxMsg *Msg)
              ~~~~~~~~~~~~~~~~~^~~

gcc-10 -DCOMPVERS="GCC_10.3.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX  main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wimplicit-fallthrough=0  -DDEBUG -DGCC -gstabs 
In file included from main.c:265:
Events/Rx_Events.c: In function 'Rx_Quit':
Events/Rx_Events.c:12:31: warning: unused parameter 'Cmd' [-Wunused-parameter]
   12 | void Rx_Quit(struct ARexxCmd *Cmd, struct RexxMsg *Msg)
      |              ~~~~~~~~~~~~~~~~~^~~


gcc-11 -DCOMPVERS="GCC_11.2.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX  main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wimplicit-fallthrough=0  -DDEBUG -DGCC -gstabs 
In file included from main.c:265:
Events/Rx_Events.c: In function 'Rx_Quit':
Events/Rx_Events.c:12:31: warning: unused parameter 'Cmd' [-Wunused-parameter]
   12 | void Rx_Quit(struct ARexxCmd *Cmd, struct RexxMsg *Msg)
      |              ~~~~~~~~~~~~~~~~~^~~
Where can I obtain the required library?
And also interesting: why is one compiler version requiring it, while others happily dance to the tune provided.

OldFart

P.s.: forgot to mention that newlib.library's current version installed is V53.62 as per OS 4.1 update 2
X5000, appears to be sick. Dismantled jan 1, 2024.
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear, sitting idle.
RaspBerry Pi 2B, 3B, 4B/4Gb, 4B/8Gb
OrangePi 5+ 8Gb
ACER Windows 10
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Compiler requires newlib.library V53.68

Post by Raziel »

newlib.library 53.80 is part of the SDK 54.16 (no idea why)

You can get it here: https://www.hyperion-entertainment.com/ ... m&file=127

As to why one compiler needs it and the rest don't...probably because gcc6 was freshly compiled with the new newlib.library in place and packaged into the SDK, while the rest of the compilers were working fine and didn't need to???
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
OldFart
Posts: 100
Joined: Tue Jul 12, 2011 2:56 pm
Location: Groningen, Netherlands

Re: Compiler requires newlib.library V53.68

Post by OldFart »

@Raziel
newlib.library 53.80 is part of the SDK 54.16 (no idea why)
The only thing about newlib in SDK 54.16 I can find is newlib-53.80.lha, but that does not contain newlib.library.

Thanks,

OldFart
X5000, appears to be sick. Dismantled jan 1, 2024.
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear, sitting idle.
RaspBerry Pi 2B, 3B, 4B/4Gb, 4B/8Gb
OrangePi 5+ 8Gb
ACER Windows 10
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Compiler requires newlib.library V53.68

Post by nbache »

AmiUpdate should give you newlib 53.80 (among other things, e.g. string.gadget 53.24 - they were both released in April this year).

Of course you have to have update.amigaos.net (activated) as one of your servers in AmiUpdate's server list.

Best regards,

Niels
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Compiler requires newlib.library V53.68

Post by Raziel »

OldFart wrote: Sun Nov 27, 2022 6:00 pm @Raziel
newlib.library 53.80 is part of the SDK 54.16 (no idea why)
The only thing about newlib in SDK 54.16 I can find is newlib-53.80.lha, but that does not contain newlib.library.

Thanks,

OldFart
You're right, mea culpa, i didn't check, i was under the impression it was part of the SDK...
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Post Reply