[pypy-svn] r55393 - pypy/dist/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Thu May 29 14:55:54 CEST 2008
Author: arigo
Date: Thu May 29 14:55:53 2008
New Revision: 55393
Modified:
pypy/dist/pypy/translator/c/genc.py
Log:
Bah, this didn't fix the gcc profile bug, which I can
reproduce with a tiny C program using fork(). For now
let's keep -frandom-seed anyway as a "can't hurt" way
to make compilation more reproducible.
Modified: pypy/dist/pypy/translator/c/genc.py
==============================================================================
--- pypy/dist/pypy/translator/c/genc.py (original)
+++ pypy/dist/pypy/translator/c/genc.py Thu May 29 14:55:53 2008
@@ -865,8 +865,7 @@
$(TARGET): $(OBJECTS)
\t$(CC) $(LDFLAGS) $(TFLAGS) -o $@ $(OBJECTS) $(LIBDIRS) $(LIBS)
-# -frandom-seed is an attempted workaround for a gcc bug with -fprofile-*
-# (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20815)
+# -frandom-seed is only to try to be as reproducable as possible
%.o: %.c
\t$(CC) $(CFLAGS) -frandom-seed=$< -o $@ -c $< $(INCLUDEDIRS)
More information about the Pypy-commit
mailing list