From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F2973858401; Wed, 19 Jan 2022 14:45:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F2973858401 From: "vital.had at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/104118] New: gcc11 fails to build R for ppc64 on 10.5.8 Date: Wed, 19 Jan 2022 14:45:35 +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: 11.2.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:45:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104118 Bug ID: 104118 Summary: gcc11 fails to build R for ppc64 on 10.5.8 Product: gcc Version: 11.2.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 52234 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D52234&action=3Dedit i file for the error Error where the build fails: /opt/svacchanda/gcc11/bin/gcc -m64 -O2 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -fopenmp -L /opt/local/lib -L /usr/X11/lib -install_name libR.dylib -compatibility_version 4.1.0 -current_version 4.1.2 -headerpad_max_install_names -o libR.dylib CommandLineArgs.o Rdynload.o Renviron.o RNG.o agrep.o altclasses.o altrep.o apply.o arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cum.o dcf.o datetime.o debug.o deparse.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o edit.o engine= .o envir.o errors.o eval.o format.o gevents.o gram.o gram-ex.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mappl= y.o match.o memory.o names.o objects.o options.o paste.o patterns.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o radixsort.o random.o raw.o registration.o relop.o rlocale.o saveloa= d.o scan.o seq.o serialize.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o times.o unique.o util= .o version.o g_alab_her.o g_cntrlify.o g_fontdb.o g_her_glyph.o xxxpr.o `ls ../unix/*.o ../appl/*.o ../nmath/*.o` ../extra/tre/libtre.a ../extra/tzone/libtz.a -L"../../lib" -lRblas -lgfortran -lm -lef_ppc -lintl -Wl,-framework -Wl,CoreFoundation -lreadline -L/opt/local/lib -lpcre2-8 -l= lzma -lbz2 -lz -licucore -ldl -lm -liconv ld: absolute addressing (perhaps -mdynamic-no-pic) used in _walker_ProbSampleReplace from random.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs collect2: error: ld returned 1 exit status make[3]: *** [libR.dylib] Error 1 make[2]: *** [R] Error 2 make[1]: *** [R] Error 1 make: *** [R] Error 1 Command producing the faulty object: /opt/svacchanda/gcc11/bin/gcc -m64 -O2 -I../../../src/extra -I. -I../../src/include -I../../../src/include -I/usr/local/include -I../../../src/nmath -DHAVE_CONFIG_H -fopenmp -fPIC -I /opt/local/include -I /usr/X11/include= -c ../../../src/main/random.c -o random.o=