This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/45482] Bootstrap fails on PPC error: conflicting types for 'malloc'



------- Comment #12 from sfilippone at uniroma2 dot it  2010-09-08 16:11 -------
(In reply to comment #11)
> (In reply to comment #10)
> 
> How did you configure those prebuilt gmp/mpfr/mpc libraries installed under
> your home directory?  In particular, did you configure them all with
> --disable-shared?  If not, then you have to be extremely careful to avoid
> unintended mismatches, and in some cases incorrectly duplicated state.
> 
> I know for a fact that prebuilt gmp/mpfr/mpc installed in a private location
> works fine on powerpc64-linux when all are configured with --disable-shared.
> 
Indeed, they were shared. 
The thing that caught me is that I have built GCC hundreds of times on
i686/x86_64 with shared, private dir  gmp/mpfr/mpc without a problem, so I went
ahead and did the same on this machine; I normally bootstrap on my two main 
machines the 4.6 trunk every other day. 

Of course I am not claiming I didn't do anything wrong, just that it was not
obvious from the various docs, including platform notes, that it was safer to
use disable-shared or build from the GCC source tree. Anyway, my problem is
fixed, and I know a bit more than yesterday; thanks everybody. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45482


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]