annotate sources/patches/gcc-core-stopdefaults2.patch @ 1786:0787ceb820bf draft 1.4.2

When x86-64 switched on NPTL in uClibc, distcc broke, and it turns out fully native compiles under qemu never worked due to qemu not quite emulating floating point right and confusing the perl build with zero not comparing equal to zero. As long as it's broken anyway, switch it over to musl and fix it up on that side. It's no longer worth trying to fix anything broken in uClibc, the project is dead. (I'm aware of uClibc-ng, and am treating it exactly the same way I treated the ecommstation reboot of OS/2.)
author Rob Landley <rob@landley.net>
date Fri, 11 Sep 2015 13:25:14 -0500
parents ba28c96cba42
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1666
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 Fix from Bobby Bingham.
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 diff -ru gcc-core/gcc/gcc.c gcc-core2/gcc/gcc.c
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 --- gcc-core/gcc/gcc.c 2014-01-05 20:23:51.963533293 -0600
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 +++ gcc-core2/gcc/gcc.c 2014-01-05 20:28:03.776864811 -0600
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 @@ -1473,8 +1473,6 @@
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 #endif
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
8
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 -static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/";
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 -static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/";
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
12 static const char *md_exec_prefix = MD_EXEC_PREFIX;
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
13
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
14 static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
15 @@ -3949,16 +3947,10 @@
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
16 PREFIX_PRIORITY_LAST, 2, 0);
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
17 add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS",
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
18 PREFIX_PRIORITY_LAST, 2, 0);
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
19 - add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS",
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
20 - PREFIX_PRIORITY_LAST, 2, 0);
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
21 - add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS",
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
22 - PREFIX_PRIORITY_LAST, 2, 0);
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
23 #endif
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
24
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
25 add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS",
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
26 PREFIX_PRIORITY_LAST, 1, 0);
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
27 - add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS",
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
28 - PREFIX_PRIORITY_LAST, 1, 0);
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
29
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
30 tooldir_prefix = concat (tooldir_base_prefix, spec_machine,
ba28c96cba42 Patch from Bobby Bingham to remove some more hardwired path stupidity gcc reaches around ccwrap to perpetrate.
Rob Landley <rob@landley.net>
parents:
diff changeset
31 dir_separator_str, NULL);