You are not logged in.
System is fully updated, package was downloaded from AUR
makepkg -s
fails with this error:
In file included from /home/ionic/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c:333:0:
/home/ionic/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
/home/ionic/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h:138:17: error: field ‘info’ has incomplete type
make[3]: *** [unwind-dw2.o] Errore 1
make[3]: Leaving directory `/home/ionic/gcc46/src/gcc-build/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Errore 2
make[2]: Leaving directory `/home/ionic/gcc46/src/gcc-build'
make[1]: *** [stage1-bubble] Errore 2
make[1]: Leaving directory `/home/ionic/gcc46/src/gcc-build'
make: *** [all] Errore 2
I tried with old package version (get here) and the error is different:
... ada/gnat1drv.ali
gnatbind: invalid switch: -C
It's funny, why this difference from AUR package??? -_-
Last edited by padremayi (2012-07-14 21:51:46)
Offline
Ok, now it works, there's a patch for this error, here the solution.
I used AUR version of gcc 4.6.3-1.
Enjoy
Last edited by padremayi (2012-07-14 21:50:47)
Offline
I'm trying to compile gcc46 from AUR and I get the same error as you with linux-unwind.h. Would you mind explaining which file and where in the file I should paste the code in the link to pastebin? Sorry, I'm a bit of a newb - but I can't find "linux-unwind.h" on my system or in the source files for for gcc46 (is the patch for my current compiler gcc_4.7.2 or the package gcc46? ... and does the patch overwrite another piece of code or just get simply inserted into a file somewhere?
My apologies for my newbishness. Thanks in advance
Regards,
Brian
Offline