This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36622] 4.3.1 failed to compile gcse.c file.
- From: "imam dot toufique at intel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2008 21:56:18 -0000
- Subject: [Bug target/36622] 4.3.1 failed to compile gcse.c file.
- References: <bug-36622-15556@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from imam dot toufique at intel dot com 2008-06-26 21:56 -------
(In reply to comment #12)
> (In reply to comment #11)
> > > I tried to compile latest 4.3.x SVN branch for i686-pc-linux-gnu with
> > > CFLAGS="-O2 -fPIC" and it worked OK. Same with trunk SVN.
> >
> > How did you fetch the 4.3.1 SVN branch? Do I have to put a specific revision #
> > for fetching that. I took the latest rev. (4.4.0 experimental) and it worked
> > OK. Thanks.
> Please read instructions at http://gcc.gnu.org/svn.html
Hello,
I just tried the 4.3_branch release of gcc with the CFFLAGS='-02 -fPIC' option.
It seem to fail now in libiberty/md5.c
Here is the error:
--snip--
In file included from ../../../gcc-4.3/libiberty/md5.c:40:
../../../gcc-4.3/libiberty/../include/md5.h:85: error: expected ?:?, ?,?, ?;?,
?}? or ?__attribute__? before ?ATTRIBUTE_ALIGNED_ALIGNOF
../../../gcc-4.3/libiberty/md5.c: In function ?md5_finish_ctx?:
../../../gcc-4.3/libiberty/md5.c:110: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:113: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:114: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:118: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c: In function ?md5_process_bytes?:
../../../gcc-4.3/libiberty/md5.c:207: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:212: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:214: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:214: error: ?struct md5_ctx? has no member
named ?buffer?
../../../gcc-4.3/libiberty/md5.c:251: error: ?struct md5_ctx? has no member
named ?buffer?
gmake[3]: *** [md5.o] Error 1
--snip--
I am using SLES 9 32-bit system to do this build.
any suggestions?
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36622