PERFORCE change 165349 for review

Arnar Mar Sig antab at FreeBSD.org
Sun Jun 28 17:55:23 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=165349

Change 165349 by antab at antab_farm on 2009/06/28 17:55:18

	* Disable building utilities that binutils fails with "Can't relax section" on to be able to finish buildworld.
	* Fix build error when relax debug is on in avr32 bfd.

Affected files ...

.. //depot/projects/avr32/src/contrib/binutils/bfd/elf32-avr32.c#3 edit
.. //depot/projects/avr32/src/libexec/Makefile#3 edit
.. //depot/projects/avr32/src/sbin/Makefile#4 edit
.. //depot/projects/avr32/src/usr.bin/Makefile#7 edit
.. //depot/projects/avr32/src/usr.sbin/Makefile#7 edit

Differences ...

==== //depot/projects/avr32/src/contrib/binutils/bfd/elf32-avr32.c#3 (text+ko) ====

@@ -2297,7 +2297,7 @@
 
       BFD_ASSERT(state->id == frag->state);
 
-      RDBG("  0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
+      RDBG("  0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->_raw_size,
 	   (frag->offset_adjust < 0)?'-':'+',
 	   abs(frag->offset_adjust), state->name, state->size);
 
@@ -3266,7 +3266,7 @@
   asection *srelgot;
 
   pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
-	   input_bfd->filename, input_section->name, input_section->size);
+	   input_bfd->filename, input_section->name, input_section->_cooked_size);
 
   /* If we're doing a partial link, we don't have to do anything since
      we're using RELA relocations */

==== //depot/projects/avr32/src/libexec/Makefile#3 (text+ko) ====

@@ -17,7 +17,6 @@
 	revnetgroup \
 	${_rlogind} \
 	rpc.rquotad \
-	rpc.rstatd \
 	rpc.rusersd \
 	rpc.rwalld \
 	rpc.sprayd \
@@ -32,6 +31,10 @@
 	${_tftp-proxy} \
 	${_ypxfr}
 
+# Not working with avr32 bintuils
+#	rpc.rstatd \
+#
+
 .if ${MK_AT} != "no"
 _atrun=		atrun
 .endif

==== //depot/projects/avr32/src/sbin/Makefile#4 (text+ko) ====

@@ -77,7 +77,6 @@
 	route \
 	${_routed} \
 	${_rtsol} \
-	savecore \
 	${_sconfig} \
 	setkey \
 	shutdown \
@@ -88,6 +87,10 @@
 	tunefs \
 	umount \
 
+# Not working with avr32 binutils
+#	savecore \
+#
+
 .if ${MK_ATM} != "no"
 _atm=		atm
 .endif

==== //depot/projects/avr32/src/usr.bin/Makefile#7 (text+ko) ====

@@ -60,7 +60,6 @@
 	expand \
 	false \
 	fetch \
-	file \
 	${_file2c} \
 	find \
 	finger \
@@ -76,7 +75,6 @@
 	getent \
 	getopt \
 	${_gprof} \
-	gzip \
 	head \
 	${_hesinfo} \
 	hexdump \
@@ -117,16 +115,13 @@
 	m4 \
 	${_mail} \
 	${_make} \
-	makewhatis \
 	mesg \
-	minigzip \
 	ministat \
 	mkdep \
 	mkfifo \
 	mklocale \
 	${_mkstr} \
 	mktemp \
-	mkuzip \
 	${_msgs} \
 	mt \
 	${_nc} \
@@ -181,7 +176,6 @@
 	tabs \
 	tail \
 	talk \
-	tar \
 	tcopy \
 	tee \
 	${_telnet} \
@@ -234,6 +228,14 @@
 	${_ypmatch} \
 	${_ypwhich}
 
+# Not working with avr32 binutils
+#	file \
+#	gzip \
+#	makewhatis \
+#	minigzip \
+#	mkuzip \
+#	tar \
+#
 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "avr32"
 _truss=		truss
 .endif

==== //depot/projects/avr32/src/usr.sbin/Makefile#7 (text+ko) ====

@@ -58,7 +58,6 @@
 	${_fdformat} \
 	${_fdread} \
 	${_fdwrite} \
-	fifolog \
 	${_flowctl} \
 	${_freebsd-update} \
 	${_ftp-proxy} \
@@ -204,6 +203,10 @@
 	zic \
 	${_zzz}
 
+# Not working with avr32 binutils
+#	fifolog \
+#
+
 # NB: keep these sorted by MK_* knobs
 
 .if ${MK_ACCT} != "no"


More information about the p4-projects mailing list