On Tue, 2005-11-22 at 16:30 -0600, glenn wrote:
> ferris:
> 
> here's another error:
> 
> sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -fno-strict-aliasing
> -ansi -pedantic -Wno-return-type -w     -I../..
> -I../../exports/include   -Dlinux -D__sparc__
> -D_POSIX_C_SOURCE=199309L                              -D_POSIX_SOURCE
> -D_XOPEN_SOURCE                            -D_BSD_SOURCE
> -D_SVID_SOURCE                             -D_GNU_SOURCE              
>        -DFUNCPROTO=15 -DNARROWPROTO   -DBINDIR=\"/usr/bin\"
> -DXDMDIR=\"/etc/X11/xdm\"                                 -DHASXDMAUTH
>               -DUSESHADOW  -DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT
> -DHAS_FCHOWN             -DGREET_USER_STATIC   
> -DDEV_RANDOM=\"/dev/random\"                -DOSMAJORVERSION=2        
>      -DOSMINORVERSION=4                              -DXPM
> -DUSE_XINERAMA                 -DHAS_MKSTEMP    -c -o choose.o
> choose.c
> choose.c: In function `AddChooserHost':
> choose.c:384: error: syntax error before "closure"
> choose.c:386: error: syntax error before ')' token
> make[4]: *** [choose.o] Error 1
> make[4]: Leaving directory
> `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/programs/xdm'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/programs'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory 
> `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc'
> make[1]: *** [World] Error 2
> make[1]: Leaving directory 
> `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc'
> make: *** [World] Error 2
> 
> !!! ERROR: x11-base/xorg-x11-6.8.2-r4 failed.
> !!! Function build, Line 973, Exitcode 2
> !!! make World failed
> !!! If you need support, post the topmost build error, NOT this status 
> message.
> 
> 
> i'll attempt another emerge with your suggestion and see how far  it
> gets before it errors out.  but the erratic behavior leads me to
> believe that there maybe memory issues.
> 
> i appreciate you time.
> 
> -=glenn=-
> 

Memory is one possibility, or problems with disk transfer. For your
information, amusement, records, or whatever, this is what the compiler
should have been working on:
=====================
    argp = (char ***) closure;
    if (addr->length == strlen ("BROADCAST") &&
        !strncmp ((char *)addr->data, "BROADCAST", addr->length))
    {
        *argp = parseArgs (*argp, "BROADCAST");
    }
=====================
And if I had to guess, I'd say that for this run on that source file,
the compiler saw 'char *...' as something else.

Now, here is what bothers me (beyond the fact that you system clearly is
misbehaving).  Although xorg-x11 is quite large,the build is not very
stressful, and certainly building the little xdm program (which is what
failed in your example) is completely ordinary.  The only interesting
things about xorg-x11 are that the build takes a long time and that once
you start building fonts, you do not do normal "build like" things (but
you are not even close to that point).

So, if some system-wide problem is casuing random failures for xorg, I'd
expect you to see random failures here and there in other builds, too.
But you have not indicated any such failures.

Consequently, I urge you that if you can, join the #gentoo-sparc IRC
channel on freenode (information at www.gentoo.org and other places) and
ask your question there, too, because you will have access to people who
have built xorg-x11 on a U5.  And don't be put off if you run into
people with strong opinions or who seem to be, er, rather blunt.

For what it's worth, I have seen (very infrequently) similar to yours.
In one case, the problem could be traced to ccache corruption apparently
related to a bad kernel.  In the second case, fixing the problem
required just a rebuild of the gcc compiler, apparently caused by a
specific bug in the compiler used to build the compiler in the first
place.  There is no third case.

If possible, you might consider installing xorg-x11 from your
distribution medium and then continue your main build to see if the
problem shows up other places or is specific to xorg-x11.

This is a long reply for so little information, but it is difficult for
me to guess what is failing.  I can see where the compilations are
failing for you, but it is hard to see why.

Puzzled,   
-- 
Ferris McCormick (P44626, MI)
Developer, Gentoo Linux (sparc, devrel)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to