unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: Reza Housseini <reza.housseini@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: gcc-4.7 and gcc-4.8 compilation failure in x64
Date: Wed, 30 Mar 2022 19:32:04 +0000	[thread overview]
Message-ID: <4rTFmoEADPqQ9GPNt3SQYxUg54DlPqKyZnRBwMWCG9YVN6Rd4D5eDpk9nkHrtQAaRCs1iHtrPlH2O2NMD5DphdRGP3ddYdK69RzR0aMw8Fk=@elenq.tech> (raw)
In-Reply-To: <540eb884-607f-31cf-8370-25f329f4b6d2@gmail.com>

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?



  reply	other threads:[~2022-03-30 19:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-29 14:15 bug#54626: gcc-4.7 and gcc-4.8 compilation failure in x64 Ekaitz Zarraga
2022-03-29 17:53 ` Reza Housseini
2022-03-29 18:39   ` Ekaitz Zarraga
2022-03-29 19:01     ` Ekaitz Zarraga
2022-03-30 19:27       ` Reza Housseini
2022-03-30 19:32         ` Ekaitz Zarraga [this message]
2022-03-30 19:40           ` Reza Housseini
2022-03-30 19:43             ` Ekaitz Zarraga
2022-04-01  8:43       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4rTFmoEADPqQ9GPNt3SQYxUg54DlPqKyZnRBwMWCG9YVN6Rd4D5eDpk9nkHrtQAaRCs1iHtrPlH2O2NMD5DphdRGP3ddYdK69RzR0aMw8Fk=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=guix-devel@gnu.org \
    --cc=reza.housseini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).