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

@ -103,55 +103,6 @@ extern const int IP_XFRM_POLICY;
#define IP_UNICAST_IF IP_UNICAST_IF
#define IP_XFRM_POLICY IP_XFRM_POLICY
#define __tmpcosmo_IP_ADD_MEMBERSHIP -1321562193
#define __tmpcosmo_IP_ADD_SOURCE_MEMBERSHIP -105214734
#define __tmpcosmo_IP_BIND_ADDRESS_NO_PORT 1524082293
#define __tmpcosmo_IP_BLOCK_SOURCE -197478650
#define __tmpcosmo_IP_CHECKSUM 1604855002
#define __tmpcosmo_IP_DEFAULT_MULTICAST_LOOP 1845412306
#define __tmpcosmo_IP_DEFAULT_MULTICAST_TTL 78428386
#define __tmpcosmo_IP_DROP_MEMBERSHIP -1095356696
#define __tmpcosmo_IP_DROP_SOURCE_MEMBERSHIP 1161532229
#define __tmpcosmo_IP_FREEBIND -492780725
#define __tmpcosmo_IP_HDRINCL -578403232
#define __tmpcosmo_IP_IPSEC_POLICY -1171119592
#define __tmpcosmo_IP_MAX_MEMBERSHIPS -758085748
#define __tmpcosmo_IP_MINTTL 53022500
#define __tmpcosmo_IP_MSFILTER -791684253
#define __tmpcosmo_IP_MTU -379904604
#define __tmpcosmo_IP_MTU_DISCOVER 1351700838
#define __tmpcosmo_IP_MULTICAST_ALL -28373322
#define __tmpcosmo_IP_MULTICAST_IF 327169407
#define __tmpcosmo_IP_MULTICAST_LOOP -2016601761
#define __tmpcosmo_IP_MULTICAST_TTL 60677445
#define __tmpcosmo_IP_NODEFRAG -1549326603
#define __tmpcosmo_IP_OPTIONS 1075977940
#define __tmpcosmo_IP_ORIGDSTADDR 773066970
#define __tmpcosmo_IP_PASSSEC 904572014
#define __tmpcosmo_IP_PKTINFO -1059188119
#define __tmpcosmo_IP_PKTOPTIONS -1589901127
#define __tmpcosmo_IP_PMTUDISC -41501151
#define __tmpcosmo_IP_PMTUDISC_DO 1915857897
#define __tmpcosmo_IP_PMTUDISC_DONT 1947820643
#define __tmpcosmo_IP_PMTUDISC_INTERFACE -1353197859
#define __tmpcosmo_IP_PMTUDISC_OMIT -900368620
#define __tmpcosmo_IP_PMTUDISC_PROBE 28801554
#define __tmpcosmo_IP_PMTUDISC_WANT -565258238
#define __tmpcosmo_IP_RECVDSTADDR -889890721
#define __tmpcosmo_IP_RECVERR -1654149047
#define __tmpcosmo_IP_RECVOPTS 1261356589
#define __tmpcosmo_IP_RECVORIGDSTADDR 1699400438
#define __tmpcosmo_IP_RECVRETOPTS 919008264
#define __tmpcosmo_IP_RECVTOS 453403469
#define __tmpcosmo_IP_RECVTTL 737320736
#define __tmpcosmo_IP_RETOPTS 1069898501
#define __tmpcosmo_IP_ROUTER_ALERT 1014101924
#define __tmpcosmo_IP_TOS -4973360
#define __tmpcosmo_IP_TRANSPARENT 579002269
#define __tmpcosmo_IP_TTL 2114723474
#define __tmpcosmo_IP_UNBLOCK_SOURCE 82069799
#define __tmpcosmo_IP_UNICAST_IF -1900602318
#define __tmpcosmo_IP_XFRM_POLICY 1051426490
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */