[Bug bootstrap/53583] gcc 4.6.2 build issue..
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53583 --- Comment #3 from ravish ravish_nayak2003 at yahoo dot co.in 2012-06-06 06:31:16 UTC --- (In reply to comment #2) Dup of bug 42750. Related to PR 39747 *** This bug has been marked as a duplicate of bug 42750 *** Hi, In Bug-ID 42750 user was requested for how to build gmp with 32bit and 64bit. I could not find any comment/reply for that and I observed that it is redirected to 39747. So could you please provide more details about gcc build issue (which is mentioned above). Regards, Ravish
[Bug bootstrap/53583] gcc 4.6.2 build issue..
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53583 --- Comment #5 from ravish ravish_nayak2003 at yahoo dot co.in 2012-06-06 08:36:13 UTC --- (In reply to comment #4) Did you try the instructions at http://gcc.gnu.org/wiki/InstallingGCC ? Yes, Jonathan.. I am suspecting on gmp compilation because if I configure gmp with ABI=32 got same error and for even ABI=64. Where as If I --disable-libjava or disable-multilib option for gcc(configure), building will go smoothly without any issue.. I am struggling with mypath/gmp/lib/libgmp.so: could not read symbols: File in wrong format error.. Please provide us a solution to move further? Regards, Ravish
[Bug bootstrap/53583] gcc 4.6.2 build issue..
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53583 --- Comment #7 from ravish ravish_nayak2003 at yahoo dot co.in 2012-06-06 11:00:20 UTC --- Hi, Yes that is true we need to build gmp which supports 32bit and 64bit.. My problem is that one how to build gmp with supporting both 32bit and 64bit. As per my knowledge the configure option we can pass as either ABI=32 or ABI=64.. How to set for both 32bit and 64bit? Same comment I saw in Bug-ID 42750(no comments for that). Please provide a solution for this issue..
[Bug bootstrap/53583] New: gcc 4.6.2 build issue..
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53583 Bug #: 53583 Summary: gcc 4.6.2 build issue.. Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: critical Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: ravish_nayak2...@yahoo.co.in Hi I am trying to build gcc 4.6.2 from source on rhe5-x86_64 platform. with the following dependencies. gmp - 5.0.4 --- configure ABI=32 and ABI=64 (both option I tried) mpfr - 3.1.0 mpc - 0.9 ./configure --prefix=/path/ --with-gmp=/path --with-mpfr=/path --with-mpc=/path After 2 hrs I am getting lib/libgmp.so: could not read symbols: File in wrong format In some blog I found that gmp should support 32bit and 64bit otherwise use disable libjava option in config parameter to continue the gcc installation. We need libjava option too and cannot disable it. could you please provide us an alternative fix for this issue.. Regards, Ravish
[Bug libmudflap/50152] New: gcc v4.5.1 installation error on ubuntu 11.04
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50152 Bug #: 50152 Summary: gcc v4.5.1 installation error on ubuntu 11.04 Classification: Unclassified Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: critical Priority: P3 Component: libmudflap AssignedTo: unassig...@gcc.gnu.org ReportedBy: ravish_nayak2...@yahoo.co.in Hi, I am trying to install gcc 4.5.1 on ubuntu 11.04 64 bit machine. I got following error and it got exit from the installation. The same issue(not exactly) i saw in this with bugid 13505 15864. I try to apply the patch which is provided by the link :- Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/ChangeLog.diff?cvsroot=gccr1=1.10r2=1.11 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/mf-hooks2.c.diff?cvsroot=gccr1=1.5r2=1.6 But those changes are very well there in the mf-hooks2.c file. so, could you please provide me an alternative solution to fix this issue.. The issue(bug) is :- ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservent': ../.././libmudflap/mf-hooks2.c:2011:3: warning: implicit declaration of function 'getservent' ../.././libmudflap/mf-hooks2.c:2011:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2013:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservbyname': ../.././libmudflap/mf-hooks2.c:2028:3: warning: implicit declaration of function 'getservbyname' ../.././libmudflap/mf-hooks2.c:2028:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2030:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservbyport': ../.././libmudflap/mf-hooks2.c:2043:3: warning: implicit declaration of function 'getservbyport' ../.././libmudflap/mf-hooks2.c:2043:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2045:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_gai_strerror': ../.././libmudflap/mf-hooks2.c:2056:3: warning: implicit declaration of function 'gai_strerror' ../.././libmudflap/mf-hooks2.c:2056:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c: At top level: ../.././libmudflap/mf-hooks2.c:2104:1: warning: 'struct in_addr' declared inside parameter list ../.././libmudflap/mf-hooks2.c:2104:1: warning: its scope is only this definition or declaration, which is probably not what you want ../.././libmudflap/mf-hooks2.c:2104:1: error: parameter 1 ('in') has incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_inet_ntoa': ../.././libmudflap/mf-hooks2.c:2110:3: warning: implicit declaration of function 'inet_ntoa' ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotoent': ../.././libmudflap/mf-hooks2.c:2123:3: warning: implicit declaration of function 'getprotoent' ../.././libmudflap/mf-hooks2.c:2123:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2125:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotobyname': ../.././libmudflap/mf-hooks2.c:2137:3: warning: implicit declaration of function 'getprotobyname' ../.././libmudflap/mf-hooks2.c:2137:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2139:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotobynumber': ../.././libmudflap/mf-hooks2.c:2150:3: warning: implicit declaration of function 'getprotobynumber' ../.././libmudflap/mf-hooks2.c:2150:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2152:32: error: dereferencing pointer to incomplete type Thanks, Ravish
[Bug libmudflap/50152] gcc v4.5.1 installation error on ubuntu 11.04
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50152 --- Comment #2 from ravish ravish_nayak2003 at yahoo dot co.in 2011-08-22 11:11:16 UTC --- Hi, I am trying to build gcc version 4.5.1 on ubuntu machine i.e., 11.04 (x86_64) machine. The config parameters are:- ./configure --prefix=/ravnay01/gcc-4.3.3-download/gcc_files --bindir=/ravnay01/gcc-4.3.3-download/gcc_files/bin --libdir=/ravnay01/gcc-4.3.3-download/gcc_files/lib --libexecdir=/ravnay01/gcc-4.3.3-download/gcc_files/libexec --include-dir=/ravnay01/gcc-4.3.3-download/gcc_files/include --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,fortran,java,objc --disable-multilib The native version of gcc is:- /usr/bin/gcc --- gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 Error which I got:- ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservent': ../.././libmudflap/mf-hooks2.c:2011:3: warning: implicit declaration of function 'getservent' ../.././libmudflap/mf-hooks2.c:2011:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2013:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservbyname': ../.././libmudflap/mf-hooks2.c:2028:3: warning: implicit declaration of function 'getservbyname' ../.././libmudflap/mf-hooks2.c:2028:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2030:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservbyport': ../.././libmudflap/mf-hooks2.c:2043:3: warning: implicit declaration of function 'getservbyport' ../.././libmudflap/mf-hooks2.c:2043:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2045:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_gai_strerror': ../.././libmudflap/mf-hooks2.c:2056:3: warning: implicit declaration of function 'gai_strerror' ../.././libmudflap/mf-hooks2.c:2056:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c: At top level: ../.././libmudflap/mf-hooks2.c:2104:1: warning: 'struct in_addr' declared inside parameter list ../.././libmudflap/mf-hooks2.c:2104:1: warning: its scope is only this definition or declaration, which is probably not what you want ../.././libmudflap/mf-hooks2.c:2104:1: error: parameter 1 ('in') has incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_inet_ntoa': ../.././libmudflap/mf-hooks2.c:2110:3: warning: implicit declaration of function 'inet_ntoa' ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotoent': ../.././libmudflap/mf-hooks2.c:2123:3: warning: implicit declaration of function 'getprotoent' ../.././libmudflap/mf-hooks2.c:2123:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2125:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotobyname': ../.././libmudflap/mf-hooks2.c:2137:3: warning: implicit declaration of function 'getprotobyname' ../.././libmudflap/mf-hooks2.c:2137:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2139:32: error: dereferencing pointer to incomplete type ../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotobynumber': ../.././libmudflap/mf-hooks2.c:2150:3: warning: implicit declaration of function 'getprotobynumber' ../.././libmudflap/mf-hooks2.c:2150:7: warning: assignment makes pointer from integer without a cast ../.././libmudflap/mf-hooks2.c:2152:32: error: dereferencing pointer to incomplete type make[4]: *** [mf-hooks2.lo] Error 1 Thanks, Ravish