https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117
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=52233&action=edit
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= -DU_I18N_IMPLEMENTATION -DU_HAVE_STRTOD_L=1
-DU_HAVE_XLOCALE_H=1 -I. -I../common -O2 -W -Wall -pedantic -Wpointer-arith
-Wwrite-strings -Wno-long-long -std=c++11 -fvisibility=hidden -fno-common -c
-dynamic -MMD -MT "plurrule.d plurrule.o plurrule.ao" -o plurrule.o
plurrule.cpp