This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


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

bootstrap/4217: gcc fails to build out of source tree on IRIX



>Number:         4217
>Category:       bootstrap
>Synopsis:       gcc fails to build out of source tree on IRIX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 03 20:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nick Blievers
>Release:        gcc-3.0.1
>Organization:
>Environment:
IRIX, compiling using gcc-3.0
../gcc-3.0.1/configure --with-prefix=/usr/local/gcc-3.0.1
>Description:
I was building gcc-3.0.1 using a seperate object and source tree, when compiling failed in the gcc subdirectory, with a message saying it cannot find fp-bit.c.
>How-To-Repeat:
Create a seperate object tree, and run
../gcc-3.0.1/configure --with-prefix=/usr/local/gcc-3.0.1
>Fix:
Obviously this change needs to go into the Makefile.in rather then the Makefile, however, I am unfamiliar with automake, and the Makefiles generated under Linux and Irix are quite different, so I can't find the right spot to fix, sorry!

gcc/Makefile

--- Makefile	Tue Sep  4 12:13:55 2001
+++ Makefile.alt	Tue Sep  4 12:17:18 2001
@@ -669,8 +669,8 @@
 
 # We want fine grained libraries, so use the new code to build the
 # floating point emulation libraries.
-FPBIT = fp-bit.c
-DPBIT = dp-bit.c
+FPBIT = $(srcdir)/fp-bit.c
+DPBIT = $(srcdir)/dp-bit.c
 
 dp-bit.c: $(srcdir)/config/fp-bit.c
 	echo '#undef US_SOFTWARE_GOFAST' > dp-bit.c
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-javascript; name="diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="diff"

LS0tIE1ha2VmaWxlCVR1ZSBTZXAgIDQgMTI6MTM6NTUgMjAwMQorKysgTWFrZWZpbGUuYWx0CVR1
ZSBTZXAgIDQgMTI6MTc6MTggMjAwMQpAQCAtNjY5LDggKzY2OSw4IEBACiAKICMgV2Ugd2FudCBm
aW5lIGdyYWluZWQgbGlicmFyaWVzLCBzbyB1c2UgdGhlIG5ldyBjb2RlIHRvIGJ1aWxkIHRoZQog
IyBmbG9hdGluZyBwb2ludCBlbXVsYXRpb24gbGlicmFyaWVzLgotRlBCSVQgPSBmcC1iaXQuYwot
RFBCSVQgPSBkcC1iaXQuYworRlBCSVQgPSAkKHNyY2RpcikvZnAtYml0LmMKK0RQQklUID0gJChz
cmNkaXIpL2RwLWJpdC5jCiAKIGRwLWJpdC5jOiAkKHNyY2RpcikvY29uZmlnL2ZwLWJpdC5jCiAJ
ZWNobyAnI3VuZGVmIFVTX1NPRlRXQVJFX0dPRkFTVCcgPiBkcC1iaXQuYwo=


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