This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.8 build
- From: Kalai Rajah N <kalairajah at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 27 Mar 2013 15:43:19 -0700
- Subject: Re: GCC 4.8 build
- References: <CAPTDLfHfg2sBms85y4H=eCnHM66Lvm5zzkYk4kGi-tvye4ZZ9Q at mail dot gmail dot com> <CAH6eHdTzUvkC6YzAcNGBK-Nm9F9G_C5Da7pDHbvqKOTabFSFnA at mail dot gmail dot com> <CAPTDLfEheEa8P8eRd3v2ru3t+sAR-DhcoJY_UpJL4-p99zdP0g at mail dot gmail dot com> <CAPTDLfFceJfmU_11Mq6J7vs3UbEY1xO_xHAB9cg2dAVkjgZvaQ at mail dot gmail dot com> <CAKOQZ8wHoy58r10CP+uxOLGANuWo81Z4vKBDrbWCoFgeUOBKtw at mail dot gmail dot com> <CAPTDLfGDO8DW1nw-_t1EaeCmW0tRewYsdr9m9GbvH2PQahGqvg at mail dot gmail dot com> <CAKOQZ8zuWn9WeA1sw9GfCiu7QUYMWQ379NqSqtD59j6ChY6idg at mail dot gmail dot com> <CAPTDLfGKDcdRR3Owb3GBud8gD8TRziimPq_eouJad_6S4k2w0A at mail dot gmail dot com> <CAKOQZ8zEjpT_D-udn_OWfeyyNArgR0nv2MCfoNuQAM2o27hk5A at mail dot gmail dot com> <CAPTDLfHgudTAOHp4nuBD7oButb5e1+WuTe2D2aui4cTG-aoHwA at mail dot gmail dot com> <CAKOQZ8w3cckMqaMJQ1XS0qMgZhcRLvjyibRAPcZOe=chcB=jyA at mail dot gmail dot com> <CAPTDLfH5=MSxD+JXwORB=Zf6D0xb_Rmcc=pd4zcWxKCBpJZWGQ at mail dot gmail dot com> <CAKOQZ8x1wqmxYvqBiVP+x6xXZeU7WOaB-Uxz2VtLocYznG0GCg at mail dot gmail dot com>
This is what I'm seeing.
I had an old version of systemtap that caused the header file issue.
At this point, there was no elfutils. To overcome the systemtap fail,
I had to upgrade to a newer of systemtap. From the systemtap docs, I
saw that it needed elfutils and so installed that also. After this
sytemtap & elfutils install, the gcc build progressed and it failed at
the morestack assembler stage.
I later found that systemtap could be installed with binutils also.
So, I tried installing systemtap, without elfutils and went with
binutils. With this combination, I am hitting the systemtap error when
gcc was compiled.
On Wed, Mar 27, 2013 at 2:57 PM, Ian Lance Taylor <iant@google.com> wrote:
> On Wed, Mar 27, 2013 at 1:42 PM, Kalai Rajah N <kalairajah@gmail.com> wrote:
>> I tried to run make NM=<binutils_nm> and I'm hitting my earlier
>> problem of erroring out due to systemtap issue. It seems that
>> systemtap requires the elfutils nm, while the morestack compilation
>> prefers the binutils nm. Seems like a catch-22 situation.
>
> I thought the problem you had with systemtap was a bug in their header
> files. I don't see how using the elfutils nm fixes that.
>
> Using the elfutils nm will cause the build to fail earlier than the
> problem you reported earlier. The elfutils nm will cause the build
> fail in libgcc. You reported a failure building libstdc++. libgcc is
> built before libstdc++. So I think you installed elfutils to avoid
> the libstdc++ problem, but it didn't fix it. It just broke earlier.
>
> Ian