Buildworld failing at crtstuff.c:543:2: #error "One of CRT_BEGIN or CRT_END must be defined."

Jonathan Donaldson donaldson at
Fri Aug 19 14:34:51 GMT 2005

Using CVSUP RELENG_6 tag, updated today (and yesterday etc)

did make clean, make cleandir

make.conf is completely generic with nocona listed as the cpu type  
(using 32bit FreeBSD though), only NO_ option is NO_PROFILE...flags  
are -O -Pipe...

buildworld fails every time here:

cc -O -pipe -march=prescott -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -finhibit- 
size-directive -fno-inline-functions  -fno-exceptions -fno-zero- 
initialized-in-bss  -fno-omit-frame-pointer -fno-unit-at-a-time -I/ 
usr/src/gnu/lib/csu/../../../contrib/gcc/config -I/usr/src/gnu/lib/ 
csu/../../../contrib/gcc -I.  -I/usr/src/gnu/lib/csu/../../usr.bin/cc/ 
cc_tools  -c /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:543:2: #error  
"One of CRT_BEGIN or CRT_END must be defined."
*** Error code 1

Stop in /usr/src/gnu/lib/csu.
*** Error code 1

Any ideas???

Jonathan Donaldson
eMail:    donaldson at

More information about the freebsd-current mailing list