[tlbuild] PPC builds

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed Mar 14 09:13:42 CET 2018


Hi,

The build with gcc 6 is also causing weird problems (which also looks
like a bug to me):

/opt/local/bin/g++-mp-6 -std=c++11 -DU_ATTRIBUTE_DEPRECATED=
-DU_I18N_IMPLEMENTATION -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1
-I/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/i18n
-I/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/common
-O2 -std=c++11 -fvisibility=hidden -fno-common -c -MMD -MT
"number_decimalquantity.d number_decimalquantity.o
number_decimalquantity.ao" -o number_decimalquantity.ao
/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/i18n/number_decimalquantity.cpp
/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/i18n/number_decimalquantity.cpp:
In member function 'void
icu_60::number::impl::DecimalQuantity::_setToDoubleFast(double)':
/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/i18n/number_decimalquantity.cpp:387:40:
error: 'round' is not a member of 'std'
     auto result = static_cast<int64_t>(std::round(n));
                                        ^~~
/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/i18n/number_decimalquantity.cpp:387:40:
note: suggested alternative:
In file included from /usr/include/math.h:26:0,
                 from /opt/local/include/gcc6/c++/cmath:45,
                 from
/Users/me/TL/Build/source/Work/libs/icu/../../../libs/icu/icu-src/source/i18n/number_decimalquantity.cpp:9:
/usr/include/architecture/ppc/math.h:500:15: note:   'round'
 extern double round( double );
               ^~~~~

Mojca


On 13 March 2018 at 11:34, Mojca Miklavec wrote:
>
> Not too important. I tried to compile PPC binaries without much success:
>
> depbase=`echo pmx-src/scor2prt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> /opt/local/bin/gcc-mp-7 -DPACKAGE_NAME=\"pmx\ \(TeX\ Live\)\"
> -DPACKAGE_TARNAME=\"pmx--tex-live-\" -DPACKAGE_VERSION=\"2.8.4\"
> -DPACKAGE_STRING=\"pmx\ \(TeX\ Live\)\ 2.8.4\"
> -DPACKAGE_BUGREPORT=\"tex-k at tug.org\" -DPACKAGE_URL=\"\"
> -DPACKAGE=\"pmx--tex-live-\" -DVERSION=\"2.8.4\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DSIZEOF_LONG_LONG=8 -I. -I../../../utils/pmx
> -I../../../utils/pmx/pmx-src/libf2c -DNON_UNIX_STDIO   -g -O2 -MT
> pmx-src/scor2prt.o -MD -MP -MF $depbase.Tpo -c -o pmx-src/scor2prt.o
> ../../../utils/pmx/pmx-src/scor2prt.c &&\
> mv -f $depbase.Tpo $depbase.Po
> /opt/local/bin/gcc-mp-7  -g -O2   -o scor2prt pmx-src/scor2prt.o libf2c.a
> Assertion failed: (*offset_ptr == end_prologue_offset), function
> ParsePrologue, file
> /SourceCache/dwarf_utilities/dwarf_utilities-70/source/DWARFDebugLine.cpp,
> line 480.
> collect2: fatal error: dsymutil terminated with signal 6 [Abort trap]
>
> Some people hinted that this might be a compiler error. I'll try with
> a different compiler, but as I already said, I would not worry if this
> doesn't work at the end and we can simply drop the platform.
>
> Mojca


More information about the tlbuild mailing list