Upgrade cosmopolitan gcc and binutils to 2.35.2

This change upgrades to the latest portcosmo gcc patch
6728fe1a25185560603ca312a8d4352af2a4e515 which lets us avoid needing to
define __tmpcosmo_FOO constants. We're now using an appropriate binutils
version for GCC 11. The older binutils sometimes wasn't able to print
backtraces, due to not being able to find a .debug_ranges section.

This is breaking change for /opt/cosmos libraries :'( due to this weird
"error: need linked-to section for --gc-sections" that pops up.

Please run `make clean` in the monorepo before rebuilding.
This commit is contained in:
Justine Tunney 2023-06-18 00:54:14 -07:00
parent 2c0f0bab0b
commit afc58a8b41
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
104 changed files with 5 additions and 1032 deletions

View file

@ -65,30 +65,5 @@ COSMOPOLITAN_C_END_
#define SOL_TIPC SOL_TIPC
#define SOL_X25 SOL_X25
#define __tmpcosmo_SOL_AAL -15823976
#define __tmpcosmo_SOL_ALG -15823956
#define __tmpcosmo_SOL_ATM -15823914
#define __tmpcosmo_SOL_BLUETOOTH -15824062
#define __tmpcosmo_SOL_CAIF -15823904
#define __tmpcosmo_SOL_DCCP -15823814
#define __tmpcosmo_SOL_DECNET -15823842
#define __tmpcosmo_SOL_ICMPV6 -15823908
#define __tmpcosmo_SOL_IPV6 -15823808
#define __tmpcosmo_SOL_IRDA -15823880
#define __tmpcosmo_SOL_IUCV -15824156
#define __tmpcosmo_SOL_KCM -15824092
#define __tmpcosmo_SOL_LLC -15823930
#define __tmpcosmo_SOL_NETBEUI -15823894
#define __tmpcosmo_SOL_NETLINK -15824012
#define __tmpcosmo_SOL_NFC -15823942
#define __tmpcosmo_SOL_PACKET -15823806
#define __tmpcosmo_SOL_PNPIPE -15823968
#define __tmpcosmo_SOL_PPPOL2TP -15823816
#define __tmpcosmo_SOL_RAW -15824044
#define __tmpcosmo_SOL_RDS -15824020
#define __tmpcosmo_SOL_RXRPC -15823984
#define __tmpcosmo_SOL_SOCKET -15824050
#define __tmpcosmo_SOL_TIPC -15823940
#define __tmpcosmo_SOL_X25 -15823856
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SOL_H_ */