This is the mail archive of the gcc@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]

build problem gcc-3.0.2-core on netbsd-1.5.2




I tried to install gcc-3.0.2-core on netbsd-1.5.2.
Of course, I used gmake.

I tried some ways, but always got error message about "gengenrtl"
I used gnu-as and gnu-ld (binutils-2.11.2).
please help me...

stage1/xgcc -Bstage1/ -B/usr/ccs/i386-unknown-netbsdelf1.5.2/bin/  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
/usr/ccs/bin/ld: warning: cannot find entry symbol start; defaulting to 00001020
/usr/lib/crt0.o: In function `__start':
/usr/lib/crt0.o(.text+0x26): undefined reference to `GLOBAL_OFFSET_TABLE_'
/usr/lib/crt0.o(.text+0xa6): undefined reference to `fini'
/usr/lib/crt0.o(.text+0xb0): undefined reference to `init'
/usr/lib/crt0.o(.text+0xc1): undefined reference to `main'
/usr/lib/crt0.o: In function `rtld_setup':
/usr/lib/crt0.o(.text+0x105): undefined reference to `GLOBAL_OFFSET_TABLE_'
/usr/lib/crt0.o: In function `dlopen':
/usr/lib/crt0.o(.text+0x178): undefined reference to `GLOBAL_OFFSET_TABLE_'
/usr/lib/crt0.o: In function `dlclose':
/usr/lib/crt0.o(.text+0x1ac): undefined reference to `GLOBAL_OFFSET_TABLE_'
/usr/lib/crt0.o: In function `dlsym':
/usr/lib/crt0.o(.text+0x1e4): undefined reference to `GLOBAL_OFFSET_TABLE_'
/usr/lib/crt0.o: In function `dlerror':
/usr/lib/crt0.o(.text+0x218): undefined reference to `GLOBAL_OFFSET_TABLE_'
/usr/lib/crt0.o(.text+0x24c): more undefined references to `GLOBAL_OFFSET_TABLE_' follow
gengenrtl.o: In function `type_from_format':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:149: undefined reference to `abort'
gengenrtl.o: In function `accessor_from_format':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:183: undefined reference to `abort'
gengenrtl.o: In function `special_format':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:194: undefined reference to `strchr'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:198: undefined reference to `strchr'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:198: undefined reference to `strchr'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:198: undefined reference to `strchr'
gengenrtl.o: In function `find_formats':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:229: undefined reference to `strcmp'
gengenrtl.o: In function `gendecl':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:246: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:247: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:256: undefined reference to `putchar'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:258: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:260: undefined reference to `printf'
gengenrtl.o: In function `genmacro':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:280: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:285: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:287: undefined reference to `printf'
gengenrtl.o:/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:292: more undefined references to `printf' follow
gengenrtl.o: In function `gendef':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:315: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:318: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:322: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:323: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:324: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:326: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:327: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:328: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:332: undefined reference to `printf'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:334: undefined reference to `printf'
gengenrtl.o: In function `genlegend':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:344: undefined reference to `puts'
gengenrtl.o: In function `genheader':
/usr/include/stdio.h:390: undefined reference to `__sF'
/usr/include/stdio.h:390: undefined reference to `__sF'
/usr/include/stdio.h:391: undefined reference to `__sF'
/usr/include/stdio.h:391: undefined reference to `__sF'
/usr/include/stdio.h:393: undefined reference to `__sF'
/usr/include/stdio.h:393: undefined reference to `__swbuf'
gengenrtl.o: In function `gencode':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:372: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:373: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:374: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:375: undefined reference to `puts'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:376: undefined reference to `puts'
gengenrtl.o:/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:377: more undefined references to `puts' follow
gengenrtl.o: In function `main':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:423: undefined reference to `__sF'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:423: undefined reference to `fflush'
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:424: undefined reference to `__sF'
gengenrtl.o: In function `gendecl':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:264: undefined reference to `puts'
gengenrtl.o: In function `genmacro':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:294: undefined reference to `puts'
gengenrtl.o: In function `gendef':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/gengenrtl.c:336: undefined reference to `puts'
obstack.o: In function `_obstack_free':
/home/imyaman/gcc-3.0.2/vo/gcc/obstack.c:401: undefined reference to `abort'
obstack.o: In function `obstack_free':
/home/imyaman/gcc-3.0.2/vo/gcc/obstack.c:435: undefined reference to `abort'
obstack.o: In function `print_and_abort':
/home/imyaman/gcc-3.0.2/vo/gcc/obstack.c:467: undefined reference to `__sF'
/home/imyaman/gcc-3.0.2/vo/gcc/obstack.c:467: undefined reference to `fwrite'
stage1/libgcc.a(__main.o): In function `__do_global_ctors':
/home/imyaman/gcc-3.0.2/vo/gcc/../../gcc/libgcc2.c(.text+0x57): undefined reference to `atexit'
/usr/ccs/bin/ld: gengenrtl: can not represent section `.rodata' in a.out object file format
/usr/ccs/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
gmake[2]: *** [gengenrtl] Error 1
gmake[2]: Leaving directory `/home/imyaman/gcc-3.0.2/vo/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/home/imyaman/gcc-3.0.2/vo/gcc'
gmake: *** [bootstrap] Error 2

and when I used bsd make,
I got following error message.

./xgcc -B./ -B/usr/local/i386-unknown-netbsdelf1.5.2/bin/ -isystem /usr/local/i386-unknown-netbsdelf1.5.2/include -O2   -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc -I../../gcc/.  -I../../gcc/config -I../../gcc/../include -DUSE_COLLECT2 -DL_clz -c ../../gcc/libgcc2.c -o libgcc/./_clz.o
/var/tmp/ccb22U6m.s: Assembler messages:
/var/tmp/ccb22U6m.s:379: Error: Alignment not a power of 2
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.





convergence... convergence & divergence

===================================================================
우리 인터넷, Daum  http://www.daum.net
송금, 1/n청구, 회비걷기! 이메일 한통으로 해결한다
☞ 메일뱅킹 http://mailbank.daum.net/


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