* binutils / gcc / glibc-2.0.2
@ 1997-04-10 18:31 Steven Kokinos
0 siblings, 0 replies; 5+ messages in thread
From: Steven Kokinos @ 1997-04-10 18:31 UTC (permalink / raw)
Hi All,
I've been working on glibc-2.0.2 as well. First I installed
binutils-2.7.0.9, with the patch (I believe came from Richard Henderson).
This seemed to go ok. The I installed the new binutils, after adjusting
the installdir to be /usr, to match the current directory. This also
seemed to be ok. Next, I went to recompile gccc-2.7.2.1, so libgcc.a
would be rebuilt against the new binutils. This is where I have run into
problems (using the gcc source rpm):
cc -c -DIN_GCC -O -I. -I. -I./config ./genattr.c
cc -c -DIN_GCC -O -I. -I. -I./config rtl.c
cc -DIN_GCC -O -o genattr \
genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case
"cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genattr ./config/alpha/alpha.md > tmp-attr.h
make: *** [stamp-attr] Error 132
Bad exit status
Does anyone have any ideas here? I've tried several things to no avail.
Is the new binutils broken, or is there something else I need to do before
compiling gcc.
Any help would be much appreciated.
Thanks,
-Steve
--
Steven Kokinos - Web Developers Network - http://www.webdevelop.com/
steve@webdevelop.com - 60 Day free trial for developers!
Industry leading development environment, multiple T1 network.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: binutils / gcc / glibc-2.0.2
[not found] <Pine.SOL.3.96.970410204036.29249D-100000@hammer.thor.cam.ac.uk>
@ 1997-04-10 18:54 ` Steven Kokinos
0 siblings, 0 replies; 5+ messages in thread
From: Steven Kokinos @ 1997-04-10 18:54 UTC (permalink / raw)
> > cc -c -DIN_GCC -O -I. -I. -I./config ./genattr.c
> > cc -c -DIN_GCC -O -I. -I. -I./config rtl.c
> > cc -DIN_GCC -O -o genattr \
> > genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case
> > "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
> > ./genattr ./config/alpha/alpha.md > tmp-attr.h
> > make: *** [stamp-attr] Error 132
> > Bad exit status
>
> I think you needed to rebuild crt0.o and libgcc.a _before_ you tried to
> compile anything. That might seem like an impossible task, but I think
> it's possible - try saying "make libgcc.a" in the gcc source directory.
>
I tried downloading crts.tar.gz from the alphabits directory on redhat,
and replacing the libgcc.a, which didn't seem to help. Doing a make
libgcc.a before compiling anything starts working and then dies on the
same error.
Any other thoughts, this seems to be one of those chicken and the egg
problems.
Thanks,
-Steve
--
Steven Kokinos - Web Developers Network - http://www.webdevelop.com/
steve@webdevelop.com - 60 Day free trial for developers!
Industry leading development environment, multiple T1 network.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: binutils / gcc / glibc-2.0.2
@ 1997-04-10 19:40 Michael Alan Dorman
0 siblings, 0 replies; 5+ messages in thread
From: Michael Alan Dorman @ 1997-04-10 19:40 UTC (permalink / raw)
Steven Kokinos <steve@genco.webdevelop.com> writes:
> Next, I went to recompile gccc-2.7.2.1, so libgcc.a would be rebuilt
> against the new binutils. This is where I have run into problems
> (using the gcc source rpm):
Try grabbing the crts.tar.gz out of the /pub/alphabits directory on
redhat---it contains a libgcc that was done with the 2.7.0.9 ld/as. I
believe the problem you're seeing is that the 2.7.0.9 ld doesn't know
how to cope with the stuff in libgcc.a
HTH.
Mike.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: binutils / gcc / glibc-2.0.2
[not found] <Pine.LNX.3.95.970410142440.14144A-100000@vito.webdevelop.com>
@ 1997-04-10 19:41 ` Philip Blundell
0 siblings, 0 replies; 5+ messages in thread
From: Philip Blundell @ 1997-04-10 19:41 UTC (permalink / raw)
On Thu, 10 Apr 1997, Steven Kokinos wrote:
> I've been working on glibc-2.0.2 as well. First I installed
> binutils-2.7.0.9, with the patch (I believe came from Richard Henderson).
> This seemed to go ok. The I installed the new binutils, after adjusting
> the installdir to be /usr, to match the current directory. This also
> seemed to be ok. Next, I went to recompile gccc-2.7.2.1, so libgcc.a
> would be rebuilt against the new binutils. This is where I have run into
> problems (using the gcc source rpm):
>
> cc -c -DIN_GCC -O -I. -I. -I./config ./genattr.c
> cc -c -DIN_GCC -O -I. -I. -I./config rtl.c
> cc -DIN_GCC -O -o genattr \
> genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case
> "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
> ./genattr ./config/alpha/alpha.md > tmp-attr.h
> make: *** [stamp-attr] Error 132
> Bad exit status
I think you needed to rebuild crt0.o and libgcc.a _before_ you tried to
compile anything. That might seem like an impossible task, but I think
it's possible - try saying "make libgcc.a" in the gcc source directory.
Until then, no binaries you've built will run. You may be able to get
precompiled versions, but I'm not sure where.
phil
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: binutils / gcc / glibc-2.0.2
[not found] <Pine.LNX.3.95.970410145241.15456A-100000@vito.webdevelop.com>
@ 1997-04-10 21:49 ` Philip Blundell
0 siblings, 0 replies; 5+ messages in thread
From: Philip Blundell @ 1997-04-10 21:49 UTC (permalink / raw)
On Thu, 10 Apr 1997, Steven Kokinos wrote:
> > > cc -c -DIN_GCC -O -I. -I. -I./config ./genattr.c
> > > cc -c -DIN_GCC -O -I. -I. -I./config rtl.c
> > > cc -DIN_GCC -O -o genattr \
> > > genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case
> > > "cc"@"" in "cc"@?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
> > > ./genattr ./config/alpha/alpha.md > tmp-attr.h
> > > make: *** [stamp-attr] Error 132
> > > Bad exit status
> >
> > I think you needed to rebuild crt0.o and libgcc.a _before_ you tried to
> > compile anything. That might seem like an impossible task, but I think
> > it's possible - try saying "make libgcc.a" in the gcc source directory.
> >
>
> I tried downloading crts.tar.gz from the alphabits directory on redhat,
> and replacing the libgcc.a, which didn't seem to help. Doing a make
> libgcc.a before compiling anything starts working and then dies on the
> same error.
You need to replace the crt*.o files as well. I suspect this is something
you have to think about _before_ you install the new binutils if you want
to do it correctly. If I remember right, "make libgcc.a" does actually
try to build a new xgcc first, which is doomed to fail. If I were you I'd
try with the precompiled stuff from alphabits - if that doesn't work you
may need to reinstall an old binutils and take another run at it.
phil
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-04-10 21:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-10 19:40 binutils / gcc / glibc-2.0.2 Michael Alan Dorman
[not found] <Pine.LNX.3.95.970410145241.15456A-100000@vito.webdevelop.com>
1997-04-10 21:49 ` Philip Blundell
[not found] <Pine.LNX.3.95.970410142440.14144A-100000@vito.webdevelop.com>
1997-04-10 19:41 ` Philip Blundell
[not found] <Pine.SOL.3.96.970410204036.29249D-100000@hammer.thor.cam.ac.uk>
1997-04-10 18:54 ` Steven Kokinos
-- strict thread matches above, loose matches on Subject: below --
1997-04-10 18:31 Steven Kokinos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox