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

@ -125,63 +125,6 @@ extern const int SO_WIFI_STATUS;
#define SO_SECURITY_ENCRYPTION_NETWORK SO_SECURITY_ENCRYPTION_NETWORK
#define SO_SECURITY_ENCRYPTION_TRANSPORT SO_SECURITY_ENCRYPTION_TRANSPORT
#define __tmpcosmo_LOCAL_PEERCRED -15823986
#define __tmpcosmo_SO_ACCEPTCONN -15823872
#define __tmpcosmo_SO_ATTACH_BPF -15824072
#define __tmpcosmo_SO_ATTACH_FILTER -15824094
#define __tmpcosmo_SO_ATTACH_REUSEPORT_CBPF -15823964
#define __tmpcosmo_SO_ATTACH_REUSEPORT_EBPF -15824060
#define __tmpcosmo_SO_BINDTODEVICE -15823990
#define __tmpcosmo_SO_BPF_EXTENSIONS -15824030
#define __tmpcosmo_SO_BROADCAST -15823882
#define __tmpcosmo_SO_BSDCOMPAT -15824038
#define __tmpcosmo_SO_BUSY_POLL -15823944
#define __tmpcosmo_SO_CNX_ADVICE -15823828
#define __tmpcosmo_SO_DETACH_BPF -15824068
#define __tmpcosmo_SO_DETACH_FILTER -15824032
#define __tmpcosmo_SO_DOMAIN -15823980
#define __tmpcosmo_SO_DONTROUTE -15823918
#define __tmpcosmo_SO_ERROR -15823892
#define __tmpcosmo_SO_EXCLUSIVEADDRUSE -15823858
#define __tmpcosmo_SO_GET_FILTER -15823834
#define __tmpcosmo_SO_INCOMING_CPU -15824074
#define __tmpcosmo_SO_KEEPALIVE -15823890
#define __tmpcosmo_SO_LINGER -15824084
#define __tmpcosmo_SO_LOCK_FILTER -15823804
#define __tmpcosmo_SO_MARK -15824008
#define __tmpcosmo_SO_MAX_PACING_RATE -15824120
#define __tmpcosmo_SO_NOFCS -15823818
#define __tmpcosmo_SO_NO_CHECK -15824152
#define __tmpcosmo_SO_OOBINLINE -15823838
#define __tmpcosmo_SO_PASSCRED -15823888
#define __tmpcosmo_SO_PASSSEC -15823866
#define __tmpcosmo_SO_PEEK_OFF -15823870
#define __tmpcosmo_SO_PEERCRED -15823954
#define __tmpcosmo_SO_PEERNAME -15824042
#define __tmpcosmo_SO_PEERSEC -15823844
#define __tmpcosmo_SO_PRIORITY -15824122
#define __tmpcosmo_SO_PROTOCOL -15823982
#define __tmpcosmo_SO_RCVBUF -15823974
#define __tmpcosmo_SO_RCVBUFFORCE -15823994
#define __tmpcosmo_SO_RCVLOWAT -15824076
#define __tmpcosmo_SO_RCVTIMEO -15824046
#define __tmpcosmo_SO_REUSEADDR -15823810
#define __tmpcosmo_SO_REUSEPORT -15823822
#define __tmpcosmo_SO_RXQ_OVFL -15824066
#define __tmpcosmo_SO_SECURITY_AUTHENTICATION -15824098
#define __tmpcosmo_SO_SECURITY_ENCRYPTION_NETWORK -15824126
#define __tmpcosmo_SO_SELECT_ERR_QUEUE -15824052
#define __tmpcosmo_SO_SETFIB -15823920
#define __tmpcosmo_SO_SNDBUF -15824102
#define __tmpcosmo_SO_SNDBUFFORCE -15823840
#define __tmpcosmo_SO_SNDLOWAT -15823946
#define __tmpcosmo_SO_SNDTIMEO -15824064
#define __tmpcosmo_SO_TIMESTAMP -15823932
#define __tmpcosmo_SO_TIMESTAMPING -15824054
#define __tmpcosmo_SO_TIMESTAMPNS -15823910
#define __tmpcosmo_SO_TYPE -15824144
#define __tmpcosmo_SO_USELOOPBACK -15824110
#define __tmpcosmo_SO_WIFI_STATUS -15824108
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */