[coreboot] [commit] r5124 - trunk

repository service svn at coreboot.org
Sat Feb 13 19:06:30 CET 2010

Author: mjones
Date: Sat Feb 13 19:06:29 2010
New Revision: 5124
URL: http://tracker.coreboot.org/trac/coreboot/changeset/5124

I was having problems building a working romcc with the -O2
optimization flag on ubuntu hardy. It was causing this error building
the bootblock:
Internal compiler error: low: next != prev?

Signed-off-by: Marc Jones <marcj303 at gmail.com>
Acked-by: Peter Stuge <peter at stuge.se>


Modified: trunk/Makefile
--- trunk/Makefile	Fri Feb 12 22:28:15 2010	(r5123)
+++ trunk/Makefile	Sat Feb 13 19:06:29 2010	(r5124)
@@ -312,7 +312,7 @@
 $(obj)/romcc: $(top)/util/romcc/romcc.c
 	@printf "    HOSTCC     $(subst $(obj)/,,$(@)) (this may take a while)\n"
-	$(HOSTCC) -g -O2 $(STACK) -Wall -o $@ $<
+	$(HOSTCC) -g $(STACK) -Wall -o $@ $<
 .PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot

More information about the coreboot mailing list