tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PCC (pcc-libs/csu/netbsd/crtbegin.c) doesn't build in NetBSD-5



I'm not sure if this is supposed to work in the netbsd-5 branch or not,
but I just tried to build PCC there by setting MKPCC=yes in mk.conf
and the following errors resulted.

Can anyone help explain why and maybe suggest how to fix it?

    compile  crtstuff/crtbegin.o
{standard input}: Assembler messages:
{standard input}:315: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:316: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:320: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:321: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:325: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:326: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:333: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:334: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:337: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:338: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:341: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:342: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:345: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:346: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:349: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:350: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:356: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:357: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:360: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:361: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:367: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:368: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:372: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:373: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:377: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:378: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:385: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:386: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:390: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:391: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:395: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:396: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:403: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:404: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:408: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:409: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:413: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:414: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:864: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:865: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:866: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:867: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:870: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:871: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:872: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}
{standard input}:873: Error: can't resolve `.dtors' {.dtors section} - 
`.Ltext0' {.text section}

*** Failed target:  crtbegin.o
*** Failed command: 
/rest/build/woods/once/netbsd-5-i386-i386-tools/bin/i386--netbsdelf-gcc -O2 -g 
-pipe -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Werror 
-march=i586 -mtune=pentiumpro -nostdinc -isystem 
/rest/build/woods/once/netbsd-5-i386-ppro-destdir/usr/include -c 
/rest/work/woods/m-NetBSD-5/external/bsd/pcc/dist/pcc-libs/csu/netbsd/crtbegin.c
 -o crtbegin.o.o
*** Error code 1

Stop.
nbmake: stopped in /rest/work/woods/m-NetBSD-5/external/bsd/pcc/lib/crtstuff


-- 
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>       +1 416 218 0099        http://www.planix.com/

Attachment: pgp9FTdo3x0wr.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index