This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Experience building binutils-2.9.5 (CVS) under VAX Ultrix 4.3
- To: binutils at sourceware dot cygnus dot com
- Subject: Experience building binutils-2.9.5 (CVS) under VAX Ultrix 4.3
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Thu, 30 Mar 2000 17:44:28 -0500 (EST)
A couple of small problems occured building binutils-2.9.5 under vax ultrix 4.3:
1) Compilation of readelf.c fails because sys/types.h must be included
before sys/stat.h.
--- readelf.c.orig Wed Mar 1 13:55:54 2000
+++ readelf.c Tue Mar 28 19:12:30 2000
@@ -23,6 +23,7 @@
#include <assert.h>
+#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <time.h>
2) There are a couple of check problems with ld:
Running /usr/local/src/gnu/binutils-2.9.5/ld/testsuite/ld-cdtest/cdtest.exp ...
FAIL: cdtest
FAIL: cdtest with -Ur
...
Running /usr/local/src/gnu/binutils-2.9.5/ld/testsuite/ld-selective/selective.exp ...
ERROR: /usr/local/src/gnu/binutils-2.9.5/ld/testsuite/ld-selective/1.c: compilation failed
The first fails because of the following diff:
--- cdtest.dat Mon May 3 03:29:08 1999
+++ ../../tmpdir/cdtest.out Wed Mar 29 15:38:22 2000
@@ -4,6 +4,8 @@
Constructing Foo(4) "default-foo"
Initializing Foo(5) "default-foo" with Foo(4)
Destructing Foo(4) "default-foo" (remaining foos: 4)
+Initializing Foo(5) "default-foo" with Foo(5)
+Destructing Foo(5) "default-foo" (remaining foos: 4)
Constructing Foo(5) "other_foo1"
Constructing Foo(6) "other_foo2"
Copying Foo(5) "other_foo1" to Foo(6)
This appears to be a result of using gcc-2.8.1 to build the package.
The second test probably shouldn't run on this host.
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)