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

@ -123,65 +123,6 @@ extern const uint64_t SIOGIFINDEX;
#define SIOCSRARP SIOCSRARP
#define SIOGIFINDEX SIOGIFINDEX
#define __tmpcosmo_SIOCADDDLCI -302399980
#define __tmpcosmo_SIOCADDMULTI -241508129
#define __tmpcosmo_SIOCADDRT -1966468807
#define __tmpcosmo_SIOCATMARK 2090047872
#define __tmpcosmo_SIOCDARP 500998632
#define __tmpcosmo_SIOCDELDLCI -1902714796
#define __tmpcosmo_SIOCDELMULTI -1463386224
#define __tmpcosmo_SIOCDELRT 1022320556
#define __tmpcosmo_SIOCDEVPRIVATE -60666997
#define __tmpcosmo_SIOCDIFADDR 1566002657
#define __tmpcosmo_SIOCDRARP 1846842637
#define __tmpcosmo_SIOCGARP -1836460866
#define __tmpcosmo_SIOCGIFADDR 1391552614
#define __tmpcosmo_SIOCGIFBR -1677174045
#define __tmpcosmo_SIOCGIFBRDADDR -427841369
#define __tmpcosmo_SIOCGIFCONF 1049413040
#define __tmpcosmo_SIOCGIFCOUNT 2030522997
#define __tmpcosmo_SIOCGIFDSTADDR -1936137036
#define __tmpcosmo_SIOCGIFENCAP 569723560
#define __tmpcosmo_SIOCGIFFLAGS 953969575
#define __tmpcosmo_SIOCGIFHWADDR 1826446939
#define __tmpcosmo_SIOCGIFINDEX 676788651
#define __tmpcosmo_SIOCGIFMAP -402430259
#define __tmpcosmo_SIOCGIFMEM 1080384634
#define __tmpcosmo_SIOCGIFMETRIC -1711572020
#define __tmpcosmo_SIOCGIFMTU 1680466237
#define __tmpcosmo_SIOCGIFNAME -1345894348
#define __tmpcosmo_SIOCGIFNETMASK -496934230
#define __tmpcosmo_SIOCGIFPFLAGS -980003252
#define __tmpcosmo_SIOCGIFSLAVE 1979814983
#define __tmpcosmo_SIOCGIFTXQLEN -539822558
#define __tmpcosmo_SIOCGPGRP 291251287
#define __tmpcosmo_SIOCGRARP -1469233791
#define __tmpcosmo_SIOCGSTAMP -2051228190
#define __tmpcosmo_SIOCGSTAMPNS -800810625
#define __tmpcosmo_SIOCPROTOPRIVATE -59287791
#define __tmpcosmo_SIOCRTMSG -1653362727
#define __tmpcosmo_SIOCSARP -1453381361
#define __tmpcosmo_SIOCSIFADDR -2115976317
#define __tmpcosmo_SIOCSIFBR 748599293
#define __tmpcosmo_SIOCSIFBRDADDR -1268459166
#define __tmpcosmo_SIOCSIFDSTADDR 92076531
#define __tmpcosmo_SIOCSIFENCAP -37300098
#define __tmpcosmo_SIOCSIFFLAGS 813103544
#define __tmpcosmo_SIOCSIFHWADDR -1351841045
#define __tmpcosmo_SIOCSIFHWBROADCAST -668663122
#define __tmpcosmo_SIOCSIFLINK -1706385678
#define __tmpcosmo_SIOCSIFMAP -186030343
#define __tmpcosmo_SIOCSIFMEM -985300611
#define __tmpcosmo_SIOCSIFMETRIC -1714941240
#define __tmpcosmo_SIOCSIFMTU -1509233635
#define __tmpcosmo_SIOCSIFNAME 1451802510
#define __tmpcosmo_SIOCSIFNETMASK -1774301296
#define __tmpcosmo_SIOCSIFPFLAGS 1203125093
#define __tmpcosmo_SIOCSIFSLAVE 859709068
#define __tmpcosmo_SIOCSIFTXQLEN 1300761928
#define __tmpcosmo_SIOCSPGRP 793321404
#define __tmpcosmo_SIOCSRARP -1216626551
#define __tmpcosmo_SIOGIFINDEX 375877633
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */