Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-04-01 Thread Ludovic Courtès
Hi! Ekaitz Zarraga skribis: > More specifically I mean the output of that command is: > > ./md-unwind-support.h:60:47: error: dereferencing pointer to incomplete type [...] > build of /gnu/store/bx2zldsx3by529hri5pfx15k12f67gzb-gcc-4.7.4.drv failed Could you try building it with an older GCC?

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-30 Thread Ekaitz Zarraga
Good idea, I will! --- Original Message --- On Wednesday, March 30th, 2022 at 9:40 PM, Reza Housseini 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, > > >

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-30 Thread Reza Housseini
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 wrote: Looks like a bug in gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-30 Thread Ekaitz Zarraga
Hi Reza, On Wednesday, March 30th, 2022 at 9:27 PM, Reza Housseini 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 tr

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-30 Thread Reza Housseini
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

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-29 Thread Ekaitz Zarraga
> 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': uncau

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-29 Thread Ekaitz Zarraga
> Hi Ekaitz > > Not that I am in any position to answer the question, but could you > > share a little bit more context? > > Did the error occur when you were compiling gcc-4.7 or do programs > > compiled with this compiler have this issue? > > What path led you to gcc-4.7? Can you share your com

Re: gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-29 Thread Reza Housseini
Hi Ekaitz Not that I am in any position to answer the question, but could you share a little bit more context? Did the error occur when you were compiling gcc-4.7 or do programs compiled with this compiler have this issue? What path led you to gcc-4.7? Can you share your compilation setting

gcc-4.7 and gcc-4.8 compilation failure in x64

2022-03-29 Thread Ekaitz Zarraga
Hi, I'm digging on old compiler versions for bootstrapping purposes and I realized that gcc 4.7 and 4.8 packages don't compile on x64. We have been able to reproduce the failure of gcc 4.7 but we didn't test the 4.8 error that far. In gcc-4.7 the error is the following: ./md-unwind-support.h: