From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9071F3858401; Wed, 19 Jan 2022 14:35:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9071F3858401 From: "vital.had at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/104117] New: gcc10 fails to build icu for ppc64 on 10.5.8 (direct access to a floating-point constant) Date: Wed, 19 Jan 2022 14:35:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vital.had at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2022 14:35:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104117 Bug ID: 104117 Summary: gcc10 fails to build icu for ppc64 on 10.5.8 (direct access to a floating-point constant) Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vital.had at gmail dot com CC: iains at gcc dot gnu.org Target Milestone: --- Host: powerpc-apple-darwin9 Target: powerpc-apple-darwin9 Build: powerpc-apple-darwin9 Created attachment 52233 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D52233&action=3Dedit ii file produced for the error Error where the build fails: ld: absolute addressing (perhaps -mdynamic-no-pic) used in __ZN6icu_6712FixedDecimal8decimalsEd from plurrule.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs collect2: error: ld returned 1 exit status make[1]: *** [../lib/libicui18n.67.1.dylib] Error 1 make: *** [all-recursive] Error 2 Command producing the faulty object: /opt/iains/powerpc-apple-darwin9/gcc-10-3-ppc/bin/g++ -m64 -O2 -DU_ATTRIBUTE_DEPRECATED=3D -DU_I18N_IMPLEMENTATION -DU_HAVE_STRTOD_L=3D1 -DU_HAVE_XLOCALE_H=3D1 -I. -I../common -O2 -W -Wall -pedantic -Wpointer-ari= th -Wwrite-strings -Wno-long-long -std=3Dc++11 -fvisibility=3Dhidden -fno-comm= on -c -dynamic -MMD -MT "plurrule.d plurrule.o plurrule.ao" -o plurrule.o plurrule.cpp=