[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc-4.7 and gcc-4.8 compilation failure in x64
From: |
Ekaitz Zarraga |
Subject: |
Re: gcc-4.7 and gcc-4.8 compilation failure in x64 |
Date: |
Wed, 30 Mar 2022 19:43:58 +0000 |
Good idea, I will!
------- Original Message -------
On Wednesday, March 30th, 2022 at 9:40 PM, Reza Housseini
<reza.housseini@gmail.com> wrote:
> Did you try to use guix time-machine and compile 4.7 from there? Perhaps
>
> the issue is the glibc version?
>
> On 3/30/22 21:32, Ekaitz Zarraga wrote:
>
> > Hi Reza,
> >
> > On Wednesday, March 30th, 2022 at 9:27 PM, Reza Housseini
> > reza.housseini@gmail.com wrote:
> >
> > > Looks like a bug in gcc:
> > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712
> > >
> > > You probably have to patch gcc 4.* as it was only backported until gcc 5.5
> > >
> > > On 3/29/22 21:01, Ekaitz Zarraga wrote:
> > >
> > > > > And you try to compile that using `guix build -m manifest.scm` the
> > > > > compilation fails. The same happens when choosing 4.8.
> > > > >
> > > > > More specifically I mean the output of that command is:
> > > >
> > > > ./md-unwind-support.h:60:47: error: dereferencing pointer to incomplete
> > > > type
> > > >
> > > > ...
> > > >
> > > > error: in phase 'build': uncaught exception:
> > > >
> > > > %exception #<&invoke-error program: "make" arguments: ("-j" "8"
> > > > "LDFLAGS_FOR_TARGET=-B/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib
> > > > -Wl,-dynamic-linker
> > > > -Wl,/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2"
> > > >
> > > > "LDFLAGS=-Wl,-rpath=/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib
> > > > -Wl,-dynamic-linker
> > > > -Wl,/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2"
> > > > "BOOT_CFLAGS=-O2 -g0") exit-status: 2 term-signal: #f stop-signal: #f>
> > > >
> > > > phase `build' failed after 256.1 seconds command "make" "-j" "8"
> > > > "LDFLAGS_FOR_TARGET=-B/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib
> > > > -Wl,-dynamic-linker
> > > > -Wl,/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2"
> > > >
> > > > "LDFLAGS=-Wl,-rpath=/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib
> > > > -Wl,-dynamic-linker
> > > > -Wl,/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2"
> > > > "BOOT_CFLAGS=-O2 -g0" failed with status 2 builder for`
> > > > /gnu/store/bx2zldsx3by529hri5pfx15k12f67gzb-gcc-4.7.4.drv' failed with
> > > > exit code 1
> > > >
> > > > build of /gnu/store/bx2zldsx3by529hri5pfx15k12f67gzb-gcc-4.7.4.drv
> > > > failed
> > > >
> > > > View build log at
> > > > '/var/log/guix/drvs/bx/2zldsx3by529hri5pfx15k12f67gzb-gcc-4.7.4.drv.gz'.
> > > >
> > > > guix build: error: build of
> > > > `/gnu/store/bx2zldsx3by529hri5pfx15k12f67gzb-gcc-4.7.4.drv' failed
> >
> > So the gcc-4.7 and gcc-4.8 packages never worked? Or we need an older libc?