Patchwork [committed] Built libbacktrace with -frandom-seed=$@ (PR bootstrap/54926)

login
register
mail settings
Submitter Jakub Jelinek
Date Dec. 7, 2012, 2:16 p.m.
Message ID <20121207141633.GX2315@tucnak.redhat.com>
Download mbox | patch
Permalink /patch/204496/
State New
Headers show

Comments

Jakub Jelinek - Dec. 7, 2012, 2:16 p.m.
Hi!

As discussed in the PR, bootstrap comparison doesn't like random
random-seed, causing differences in some symbols on some targets.
Fixed thusly, approved by Alex in the PR, committed to trunk.

2012-12-07  Jakub Jelinek  <jakub@redhat.com>

	PR bootstrap/54926
	* Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
	* Makefile.in: Regenerated.


	Jakub

Patch

--- libbacktrace/Makefile.am.jj	2012-10-02 15:36:21.000000000 +0200
+++ libbacktrace/Makefile.am	2012-12-06 19:36:05.888001803 +0100
@@ -34,7 +34,7 @@  ACLOCAL_AMFLAGS = -I .. -I ../config
 AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \
 	-I ../libgcc -I ../gcc/include -I $(MULTIBUILDTOP)../../gcc/include
 
-AM_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) $(PIC_FLAG)
+AM_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) $(PIC_FLAG) -frandom-seed=$@
 
 noinst_LTLIBRARIES = libbacktrace.la
 
--- libbacktrace/Makefile.in.jj	2012-10-02 15:36:21.000000000 +0200
+++ libbacktrace/Makefile.in	2012-12-06 19:36:26.284875521 +0100
@@ -254,7 +254,7 @@  ACLOCAL_AMFLAGS = -I .. -I ../config
 AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \
 	-I ../libgcc -I ../gcc/include -I $(MULTIBUILDTOP)../../gcc/include
 
-AM_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) $(PIC_FLAG)
+AM_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) $(PIC_FLAG) -frandom-seed=$@
 noinst_LTLIBRARIES = libbacktrace.la
 libbacktrace_la_SOURCES = \
 	backtrace.h \