This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building binutils on Solaris 9


> Attached is the output of `make check` for snapshot 050126 (downloaded
> from ftp://sources.redhat.com/pub/binutils/snapshots/
>
> These binutils were built with gcc-3.3.5 (bootstrapped using native Sun's
> cc) with the following:
> ../binutils-050126/configure --prefix=/opt/builder/toolchain
> --disable-nls --host=sparc64-sun-solaris2.9
> make (this is GNU make)

I presume your gcc-3.3.5 uses the Sun tools and not GNU binutils, right?
If so, take a look at the full log: almost all failures come from an 
invocation of the compiler.  Specifically, the compiler is asking the Sun 
linker to do things it doesn't support.  Of course the Sun linker should 
never be invoked in the first place but it is.  I can reproduce with a 
compiler configured --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld.

The nominal mainline CVS testsuite results on sparc64-sun-solaris2.9 are:

Native configuration is sparc64-sun-solaris2.9

                === binutils tests ===


Running target unix

                === binutils Summary ===

# of expected passes            29
# of untested testcases         4
                === gas tests ===


Running target unix

                === gas Summary ===

# of expected passes            81
                === ld tests ===


Running target unix
FAIL: bootstrap with --static
FAIL: shared (non PIC)
FAIL: shared (non PIC, load offset)
FAIL: shared (PIC main, non PIC so)

                === ld Summary ===

# of expected passes            153
# of unexpected failures        4
# of expected failures          4
# of untested testcases         9

with GCC 3.3.x, 3.4.x or 4.0.0exp.


FAIL: bootstrap with --static:
Solaris doesn't provide a static 64-bit libc.

FAIL: shared (non PIC)
FAIL: shared (non PIC, load offset)
FAIL: shared (PIC main, non PIC so)
Limitation of the Solaris dynamic linker: it doesn't seem to like DSO compiled 
without -fPIC.  We don't really care.

In other words, the testsuite is clean.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]