This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386
- From: "subscribe at teskor dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 06 Jun 2018 09:32:09 +0000
- Subject: [Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386
- Auto-submitted: auto-generated
- References: <bug-86027-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027
--- Comment #4 from Michael Teske <subscribe at teskor dot de> ---
I found the fix for my problem:
+ 2018-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ Backport from mainline
+ 2018-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR bootstrap/84017
+ * configure.ac (gcc_cv_as_shf_merge): Disable on Solaris 10/x86.
+ * configure: Regenerate.
This fixes a different problem which I didn't have with 7.3.0 (bootstrap worked
fine), but I just confirmed, that disabling gcc_cv_as_shf_merge did the trick.
A broken ld explains my problem.
From my side this bug can be closed.