From: Reza Housseini <reza.housseini@gmail.com>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: guix-devel@gnu.org
Subject: Re: gcc-4.7 and gcc-4.8 compilation failure in x64
Date: Wed, 30 Mar 2022 21:40:53 +0200 [thread overview]
Message-ID: <f894f404-baf4-7639-7866-f7bb65866d33@gmail.com> (raw)
In-Reply-To: <4rTFmoEADPqQ9GPNt3SQYxUg54DlPqKyZnRBwMWCG9YVN6Rd4D5eDpk9nkHrtQAaRCs1iHtrPlH2O2NMD5DphdRGP3ddYdK69RzR0aMw8Fk=@elenq.tech>
[-- Attachment #1.1.1: Type: text/plain, Size: 2304 bytes --]
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?
>
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15557 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2022-03-30 19:42 UTC|newest]
Thread overview: 10+ 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
2022-03-30 19:40 ` Reza Housseini [this message]
2022-03-30 19:43 ` Ekaitz Zarraga
2022-04-01 8:43 ` Ludovic Courtès
2022-03-31 19:17 ` bug#54626: " Ekaitz Zarraga
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f894f404-baf4-7639-7866-f7bb65866d33@gmail.com \
--to=reza.housseini@gmail.com \
--cc=ekaitz@elenq.tech \
--cc=guix-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.