egcs-CVS19980915, SunOS4 bootstrap fails in java dir, memmove missing
Jeffrey A Law
law@cygnus.com
Wed Sep 16 12:02:00 GMT 1998
In message < 199809161434.KAA19829@caip.rutgers.edu >you write:
> Snapshot: egcs-CVS19980915
> Platform: sparc-sun-sunos4.1.4
> Stage1 compiler: cc
> Assembler: native
> Linker: native
> BOOT_CFLAGS: none
>
>
> When bootstrapping on SunOS4, I got a simple failure in the
> java directory because memmove is not available:
>
>
>
> > stage1/xgcc -Bstage1/ -DIN_GCC -W -Wall -g -O2
> > -D__USE_FIXED_PROTOTYPES__ -pipe -o ../jc1 parse.o class.o
> > decl.o expr.o constants.o lang.o typeck.o except.o verify.o
> > zextract.o jcf-io.o jcf-parse.o mangle.o jcf-write.o buffer.o
> > `cat ../stamp-objlist` `if [ xobstack.o != x ]; then echo
> > ../obstack.o; else true; fi` `case "stage1/xgcc -Bstage1/" in
> > "cc") if [ x != x ]; then echo ../; else true; fi ;; esac` `if
> > [ x != x ]; then echo ../; else true; fi`
> > ld: Undefined symbol
> > _memmove
> > collect2: ld returned 2 exit status
> > make[3]: *** [../jc1] Error 1
>
>
>
> If "move" semantics are required, I think its a bad idea to
> simply use bcopy since it'll get defined to memcpy when bcopy isn't
> available.
Yea. I'm going to try and take care of this tonight by building
memmove from libiberty and linking it into jc1.
jeff
More information about the Gcc-bugs
mailing list