1 |
On Tue, 2005-11-22 at 16:30 -0600, glenn wrote: |
2 |
> ferris: |
3 |
> |
4 |
> here's another error: |
5 |
> |
6 |
> sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -fno-strict-aliasing |
7 |
> -ansi -pedantic -Wno-return-type -w -I../.. |
8 |
> -I../../exports/include -Dlinux -D__sparc__ |
9 |
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE |
10 |
> -D_XOPEN_SOURCE -D_BSD_SOURCE |
11 |
> -D_SVID_SOURCE -D_GNU_SOURCE |
12 |
> -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/bin\" |
13 |
> -DXDMDIR=\"/etc/X11/xdm\" -DHASXDMAUTH |
14 |
> -DUSESHADOW -DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT |
15 |
> -DHAS_FCHOWN -DGREET_USER_STATIC |
16 |
> -DDEV_RANDOM=\"/dev/random\" -DOSMAJORVERSION=2 |
17 |
> -DOSMINORVERSION=4 -DXPM |
18 |
> -DUSE_XINERAMA -DHAS_MKSTEMP -c -o choose.o |
19 |
> choose.c |
20 |
> choose.c: In function `AddChooserHost': |
21 |
> choose.c:384: error: syntax error before "closure" |
22 |
> choose.c:386: error: syntax error before ')' token |
23 |
> make[4]: *** [choose.o] Error 1 |
24 |
> make[4]: Leaving directory |
25 |
> `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/programs/xdm' |
26 |
> make[3]: *** [all] Error 2 |
27 |
> make[3]: Leaving directory |
28 |
> `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/programs' |
29 |
> make[2]: *** [all] Error 2 |
30 |
> make[2]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc' |
31 |
> make[1]: *** [World] Error 2 |
32 |
> make[1]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc' |
33 |
> make: *** [World] Error 2 |
34 |
> |
35 |
> !!! ERROR: x11-base/xorg-x11-6.8.2-r4 failed. |
36 |
> !!! Function build, Line 973, Exitcode 2 |
37 |
> !!! make World failed |
38 |
> !!! If you need support, post the topmost build error, NOT this status message. |
39 |
> |
40 |
> |
41 |
> i'll attempt another emerge with your suggestion and see how far it |
42 |
> gets before it errors out. but the erratic behavior leads me to |
43 |
> believe that there maybe memory issues. |
44 |
> |
45 |
> i appreciate you time. |
46 |
> |
47 |
> -=glenn=- |
48 |
> |
49 |
|
50 |
Memory is one possibility, or problems with disk transfer. For your |
51 |
information, amusement, records, or whatever, this is what the compiler |
52 |
should have been working on: |
53 |
===================== |
54 |
argp = (char ***) closure; |
55 |
if (addr->length == strlen ("BROADCAST") && |
56 |
!strncmp ((char *)addr->data, "BROADCAST", addr->length)) |
57 |
{ |
58 |
*argp = parseArgs (*argp, "BROADCAST"); |
59 |
} |
60 |
===================== |
61 |
And if I had to guess, I'd say that for this run on that source file, |
62 |
the compiler saw 'char *...' as something else. |
63 |
|
64 |
Now, here is what bothers me (beyond the fact that you system clearly is |
65 |
misbehaving). Although xorg-x11 is quite large,the build is not very |
66 |
stressful, and certainly building the little xdm program (which is what |
67 |
failed in your example) is completely ordinary. The only interesting |
68 |
things about xorg-x11 are that the build takes a long time and that once |
69 |
you start building fonts, you do not do normal "build like" things (but |
70 |
you are not even close to that point). |
71 |
|
72 |
So, if some system-wide problem is casuing random failures for xorg, I'd |
73 |
expect you to see random failures here and there in other builds, too. |
74 |
But you have not indicated any such failures. |
75 |
|
76 |
Consequently, I urge you that if you can, join the #gentoo-sparc IRC |
77 |
channel on freenode (information at www.gentoo.org and other places) and |
78 |
ask your question there, too, because you will have access to people who |
79 |
have built xorg-x11 on a U5. And don't be put off if you run into |
80 |
people with strong opinions or who seem to be, er, rather blunt. |
81 |
|
82 |
For what it's worth, I have seen (very infrequently) similar to yours. |
83 |
In one case, the problem could be traced to ccache corruption apparently |
84 |
related to a bad kernel. In the second case, fixing the problem |
85 |
required just a rebuild of the gcc compiler, apparently caused by a |
86 |
specific bug in the compiler used to build the compiler in the first |
87 |
place. There is no third case. |
88 |
|
89 |
If possible, you might consider installing xorg-x11 from your |
90 |
distribution medium and then continue your main build to see if the |
91 |
problem shows up other places or is specific to xorg-x11. |
92 |
|
93 |
This is a long reply for so little information, but it is difficult for |
94 |
me to guess what is failing. I can see where the compilations are |
95 |
failing for you, but it is hard to see why. |
96 |
|
97 |
Puzzled, |
98 |
-- |
99 |
Ferris McCormick (P44626, MI) |
100 |
Developer, Gentoo Linux (sparc, devrel) |