1 |
On 2016-05-13, Alec Ten Harmsel <alec@××××××××××××××.com> wrote: |
2 |
> On Fri, May 13, 2016 at 08:25:14PM +0000, Grant Edwards wrote: |
3 |
>> |
4 |
>> So, I uninstalled gcc 4.9 and all older versions except 4.6. |
5 |
>> |
6 |
>> I then removed 4.6 from the world file (but left it installed). |
7 |
>> |
8 |
>> emerge is now happy and willing to upgrade gcc from 4.6 to 4.9 -- but |
9 |
>> it can't: now the build of 4.9.3 is failing. |
10 |
> |
11 |
> What is the error? |
12 |
|
13 |
I gave up on 4.9.3, and am just trying to rebuild 4.6.4. It fails |
14 |
pretty much the same way when trying to build libiberty: |
15 |
|
16 |
/usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] |
17 |
checking for grep that handles long lines and -e... /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c: In function ‘$ |
18 |
/var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:65:15: error: storage size of ‘st’ isn’t known |
19 |
/var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:67:3: warning: implicit declaration of function ‘stat’ [-Wimplicit$ |
20 |
/var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:68:7: warning: implicit declaration of function ‘S_ISREG’ [-Wimpli$ |
21 |
/var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:69:5: warning: implicit declaration of function ‘unlink’ [-Wimplic$ |
22 |
/var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/unlink-if-ordinary.c:65:15: warning: unused variable ‘st’ [-Wunused-variable] |
23 |
Makefile:1147: recipe for target 'unlink-if-ordinary.o' failed |
24 |
make[3]: *** [unlink-if-ordinary.o] Error 1 |
25 |
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.6.4/work/build/libiberty' |
26 |
Makefile:10456: recipe for target 'all-stage1-libiberty' failed |
27 |
make[2]: *** [all-stage1-libiberty] Error 2 |
28 |
make[2]: *** Waiting for unfinished jobs.... |
29 |
|
30 |
So, it seems I now don't have a working compiler. |
31 |
|
32 |
I tried doing a quickpkg of gcc-4.9.3 on one of my other systems |
33 |
(which is still happy with having 4.9.3 and older versions installed), |
34 |
but the CPU type didn't match closely enough, and the binaries from |
35 |
the package had illegal instructions. |
36 |
|
37 |
-- |
38 |
Grant Edwards grant.b.edwards Yow! I once decorated my |
39 |
at apartment entirely in ten |
40 |
gmail.com foot salad forks!! |