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/15646] bug in make gcc3.3.2 on AIX5.2


------- Additional Comments From tlcheng at hko dot gov dot hk  2004-06-04 09:26 -------
Would you please further eliborate the steps to fix the problem?

I don't understand how to and why to add check for malloc.h needed by m68k for 
function free().  
And do we need to re-enable the old stdlib.h.  

Thanks forwards


T. L. Cheng


(In reply to comment #0)
> I compiled the gcc on AIX5.2 and already removed the stdlib.h in
> /usr/lib/gcc-lib/power*/oldgccversion*/include directory but still had 
errors in
> make bootstrap as following:
> gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall -Wtraditional -
pedant
> ic objalloc.c -o objalloc.o
> hashtab.c: In function `htab_create':
> hashtab.c:208: `free' undeclared (first use in this function)
> hashtab.c:208: (Each undeclared identifier is reported only once
> hashtab.c:208: for each function it appears in.)
> hashtab.c: In function `htab_try_create':
> hashtab.c:218: `calloc' undeclared (first use in this function)
> hashtab.c:218: `free' undeclared (first use in this function)
> make-temp-file.c: In function `choose_tmpdir':
> make-temp-file.c:107: warning: implicit declaration of function `getenv'
> make-temp-file.c:107: warning: passing arg 1 of `try' makes pointer from 
integer
>  without a cast
> make-temp-file.c:108: warning: passing arg 1 of `try' makes pointer from 
integer
>  without a cast
> make-temp-file.c:109: warning: passing arg 1 of `try' makes pointer from 
integer
>  without a cast
> make[1]: *** [hashtab.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/base/source/gcc-3.3.2/libiberty'
> make: *** [all-libiberty] Error 2



-- 


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


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