public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104183] New: gcc6 error with building icu for ppc64
@ 2022-01-22  9:59 vital.had at gmail dot com
  2022-01-22 11:56 ` [Bug target/104183] " iains at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vital.had at gmail dot com @ 2022-01-22  9:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104183

            Bug ID: 104183
           Summary: gcc6 error with building icu for ppc64
           Product: gcc
           Version: 6.5.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: ---
            Target: powerpc64-apple-darwin9.8.0

Created attachment 52266
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52266&action=edit
ii files for errors

Build fails with the following:

ld: duplicate symbol
icu_67::number::NumberFormatterSettings<icu_67::number::UnlocalizedNumberFormatter>::copyErrorTo(UErrorCode&)
const in number_skeletons.o and number_fluent.o
collect2: error: ld returned 1 exit status
make[1]: *** [../lib/libicui18n.67.1.dylib] Error 1
make: *** [all-recursive] Error 2

Commands producing the faulty objects:

/opt/local/bin/g++-mp-6 -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
"number_skeletons.d number_skeletons.o number_skeletons.ao" -o
number_skeletons.o number_skeletons.cpp

/opt/local/bin/g++-mp-6 -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
"number_fluent.d number_fluent.o number_fluent.ao" -o number_fluent.o
number_fluent.cpp

P. S. Error unrelated to Macports, I have redone the build outside with cleared
path, and it fails identically. ii files in attachment are from the build
outside of Macports.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-22 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22  9:59 [Bug target/104183] New: gcc6 error with building icu for ppc64 vital.had at gmail dot com
2022-01-22 11:56 ` [Bug target/104183] " iains at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).