Building TFF 20180110 for G5 fails with Undefined local symbol LC1 throught LC30
PowerMac DualG5.
gcc-4.8 installed via MacPorts, gcc48 @4.8.5_2
cctools installed via MacPorts cctools @895_4
other dependencies installed via MacPorts
successfully builds with G3.mozcfg
with G5.mozcfg errors building several files in libyuv.
I wonder if my versions of gcc-4.8 and cctools differ from the ones that are generally used to build TFF G5 version? As below, I did get this file to compile with gcc6.
failed G5.mozcfg build with gcc-4.8
cc1plus: warning: '-mdynamic-no-pic' overrides '-fpic', '-fPIC', '-fpie' or '-fPIE' [enabled by default]
rs6000_secondary_reload_inner:17193, type = load
(parallel [
(set (reg:V16QI 78 v1)
(mem:V16QI (and:SI (reg:SI 0 r0 [orig:909 D.19294 ] [909])
(const_int -16 [0xfffffffffffffff0])) [0 MEM[(const uint8 )_171 & 4294967280B]+0 S16 A128]))
(clobber (reg:SI 31 r31))
])
/Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc: In function 'void libyuv::I422ToARGB1555Row_C(const uint8, const uint8*, const uint8*, uint8*, int)':
/Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc:1155:1: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16984
}
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.
{standard input}:unknown:Undefined local symbol LC1
{standard input}:unknown:Undefined local symbol LC2
{standard input}:unknown:Undefined local symbol LC3
{standard input}:unknown:Undefined local symbol LC4
{standard input}:unknown:Undefined local symbol LC5
{standard input}:unknown:Undefined local symbol LC0
{standard input}:unknown:Undefined local symbol LC6
{standard input}:unknown:Undefined local symbol LC7
{standard input}:unknown:Undefined local symbol LC8
{standard input}:unknown:Undefined local symbol LC9
{standard input}:unknown:Undefined local symbol LC10
{standard input}:unknown:Undefined local symbol LC11
{standard input}:unknown:Undefined local symbol LC12
{standard input}:unknown:Undefined local symbol LC13
{standard input}:unknown:Undefined local symbol LC14
{standard input}:unknown:Undefined local symbol LC15
{standard input}:unknown:Undefined local symbol LC16
{standard input}:unknown:Undefined local symbol LC17
{standard input}:unknown:Undefined local symbol LC18
{standard input}:unknown:Undefined local symbol LC19
{standard input}:unknown:Undefined local symbol LC20
{standard input}:unknown:Undefined local symbol LC21
{standard input}:unknown:Undefined local symbol LC22
{standard input}:unknown:Undefined local symbol LC23
{standard input}:unknown:Undefined local symbol LC24
{standard input}:unknown:Undefined local symbol LC25
{standard input}:unknown:Undefined local symbol LC26
{standard input}:unknown:Undefined local symbol LC27
{standard input}:unknown:Undefined local symbol LC28
{standard input}:unknown:Undefined local symbol LC29
{standard input}:unknown:Undefined local symbol LC30
In the directory /Users/cunningh/tenfourfox/obj-ff-dbg/media/libyuv/libyuv_libyuv
The following command failed to execute properly:
/opt/local/bin/g++-mp-4.8 -flax-vector-conversions -fpermissive -O3 -mcpu=G5 -m32 -falign-loops=32 -falign-functions=32 -falign-labels=32 -falign-jumps=32 -mmfcrf -mpowerpc-gpopt -read_only_relocs suppress -force_cpusubtype_ALL -mdynamic-no-pic -D_PPC970_ -o row_common.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DTENFOURFOX_VMX=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DHAVE_JPEG -DLIBYUV_DISABLE_AVX2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/Users/cunningh/tenfourfox/media/libyuv -I. -I/Users/cunningh/tenfourfox/media/libyuv/include -I/Users/cunningh/tenfourfox/media/libyuv -I../../../ipc/ipdl/ipdlheaders -I/Users/cunningh/tenfourfox/ipc/chromium/src -I/Users/cunningh/tenfourfox/ipc/glue -I../../../dist/include -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/row_common.o.pp -I/Users/cunningh/tenfourfox/jpeg-imageio -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNO_X11 -pipe -DNDEBUG -DTRIMMED -gdwarf-2 -O3 /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc
gmake[5]: *** [/Users/cunningh/tenfourfox/config/rules.mk:957: row_common.o] Error 1
gmake[5]: Leaving directory '/Users/cunningh/tenfourfox/obj-ff-dbg/media/libyuv/libyuv_libyuv'
gmake[4]: *** [/Users/cunningh/tenfourfox/config/recurse.mk:71: media/libyuv/libyuv_libyuv/target] Error 2
a more verbose indication of the failure:However, the build does succeed with gcc6:tigerg5:~/tenfourfox/obj-ff-dbg/media/libyuv/libyuv_libyuv cunningh$ /opt/local/bin/g++-mp-4.8 -flax-vector-conversions -fpermissive -O3 -mcpu=G5 -m32 -falign-loops=32 -falign-functions=32 -falign-labels=32 -falign-jumps=32 -mmfcrf -mpowerpc-gpopt -read_only_relocs suppress -force_cpusubtype_ALL -mdynamic-no-pic -D_PPC970
-o row_common.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DTENFOURFOX_VMX=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DHAVE_JPEG -DLIBYUV_DISABLE_AVX2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/Users/cunningh/tenfourfox/media/libyuv -I. -I/Users/cunningh/tenfourfox/media/libyuv/include -I/Users/cunningh/tenfourfox/media/libyuv -I../../../ipc/ipdl/ipdlheaders -I/Users/cunningh/tenfourfox/ipc/chromium/src -I/Users/cunningh/tenfourfox/ipc/glue -I../../../dist/include -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/row_common.o.pp -I/Users/cunningh/tenfourfox/jpeg-imageio -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNO_X11 -pipe -DNDEBUG -DTRIMMED -gdwarf-2 -O3 /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc -v -Wl,-v -Wa,-v Using built-in specs. COLLECT_GCC=/opt/local/bin/g++-mp-4.8 Target: ppc-apple-darwin8 Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/gcc48/work/gcc-4.8.5/configure --prefix=/opt/local --build=ppc-apple-darwin8 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local/libexec/isl14 --disable-isl-version-check --with-cloog=/opt/local --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --disable-tls --with-pkgversion='MacPorts gcc48 4.8.5_2' Thread model: posix gcc version 4.8.5 (MacPorts gcc48 4.8.5_2) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-flax-vector-conversions' '-fpermissive' '-O3' '-mcpu=G5' '-m32' '-falign-loops=32' '-falign-functions=32' '-falign-labels=32' '-falign-jumps=32' '-mmfcrf' '-mpowerpc-gpopt' '-read_only_relocs' 'suppress' '-Zforce_cpusubtype_ALL' '-mdynamic-no-pic' '-D' '_PPC970' '-o' 'row_common.o' '-c' '-fvisibility=hidden' '-fvisibility-inlines-hidden' '-D' 'CHROMIUM_BUILD' '-D' 'USE_LIBJPEG_TURBO=1' '-D' 'ENABLE_ONE_CLICK_SIGNIN' '-D' 'ENABLE_REMOTING=1' '-D' 'ENABLE_WEBRTC=1' '-D' 'ENABLE_CONFIGURATION_POLICY' '-D' 'ENABLE_INPUT_SPEECH' '-D' 'ENABLE_NOTIFICATIONS' '-D' 'ENABLE_HIDPI=1' '-D' 'TENFOURFOX_VMX=1' '-D' 'ENABLE_GPU=1' '-D' 'ENABLE_EGLIMAGE=1' '-D' 'USE_SKIA=1' '-D' 'ENABLE_TASK_MANAGER=1' '-D' 'ENABLE_WEB_INTENTS=1' '-D' 'ENABLE_EXTENSIONS=1' '-D' 'ENABLE_PLUGIN_INSTALLATION=1' '-D' 'ENABLE_PROTECTOR_SERVICE=1' '-D' 'ENABLE_SESSION_SERVICE=1' '-D' 'ENABLE_THEMES=1' '-D' 'ENABLE_BACKGROUND=1' '-D' 'ENABLE_AUTOMATION=1' '-D' 'ENABLE_PRINTING=1' '-D' 'ENABLE_CAPTIVE_PORTAL_DETECTION=1' '-D' 'HAVE_JPEG' '-D' 'LIBYUV_DISABLE_AVX2' '-D' 'NDEBUG' '-D' 'NVALGRIND' '-D' 'DYNAMIC_ANNOTATIONS_ENABLED=0' '-D' 'STATIC_EXPORTABLE_JS_API' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-I' '/Users/cunningh/tenfourfox/media/libyuv' '-I' '.' '-I' '/Users/cunningh/tenfourfox/media/libyuv/include' '-I' '/Users/cunningh/tenfourfox/media/libyuv' '-I' '../../../ipc/ipdl/ipdlheaders' '-I' '/Users/cunningh/tenfourfox/ipc/chromium/src' '-I' '/Users/cunningh/tenfourfox/ipc/glue' '-I' '../../../dist/include' '-fPIC' '-D' 'MOZILLA_CLIENT' '-include' '../../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/row_common.o.pp' '-I' '/Users/cunningh/tenfourfox/jpeg-imageio' '-Wall' '-Wempty-body' '-Woverloaded-virtual' '-Wsign-compare' '-Wwrite-strings' '-Wno-invalid-offsetof' '-Wcast-align' '-isysroot' '/Developer/SDKs/MacOSX10.4u.sdk' '-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno' '-std=gnu++11' '-pthread' '-D' 'NO_X11' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-gdwarf-2' '-O3' '-v' '-shared-libgcc' /opt/local/libexec/gcc/ppc-apple-darwin8/4.8.5/cc1plus -quiet -v -I /Users/cunningh/tenfourfox/media/libyuv -I . -I /Users/cunningh/tenfourfox/media/libyuv/include -I /Users/cunningh/tenfourfox/media/libyuv -I ../../../ipc/ipdl/_ipdlheaders -I /Users/cunningh/tenfourfox/ipc/chromium/src -I /Users/cunningh/tenfourfox/ipc/glue -I ../../../dist/include -I /Users/cunningh/tenfourfox/jpeg-imageio -MD row_common.d -MF .deps/row_common.o.pp -MP -MQ row_common.o -DDYNAMIC_ -D_REENTRANT -D PPC970 -D CHROMIUM_BUILD -D USE_LIBJPEG_TURBO=1 -D ENABLE_ONE_CLICK_SIGNIN -D ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D ENABLE_CONFIGURATION_POLICY -D ENABLE_INPUT_SPEECH -D ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D TENFOURFOX_VMX=1 -D ENABLE_GPU=1 -D ENABLE_EGLIMAGE=1 -D USE_SKIA=1 -D ENABLE_TASK_MANAGER=1 -D ENABLE_WEB_INTENTS=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D ENABLE_PROTECTOR_SERVICE=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D ENABLE_BACKGROUND=1 -D ENABLE_AUTOMATION=1 -D ENABLE_PRINTING=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D HAVE_JPEG -D LIBYUV_DISABLE_AVX2 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D STATIC_EXPORTABLE_JS_API -D MOZILLA_INTERNAL_API -D IMPL_LIBXUL -D MOZILLA_CLIENT -D NO_X11 -D NDEBUG -D TRIMMED -include ../../../mozilla-config.h -isysroot /Developer/SDKs/MacOSX10.4u.sdk /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc -quiet -dumpbase row_common.cc -mmacosx-version-min=10.4 -mcpu=G5 -m32 -mmfcrf -mpowerpc-gpopt -mdynamic-no-pic -auxbase-strip row_common.o -gdwarf-2 -O3 -O3 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -std=gnu++11 -version -flax-vector-conversions -fpermissive -falign-loops=32 -falign-functions=32 -falign-labels=32 -falign-jumps=32 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -o - | /opt/local/bin/as -v -I /Users/cunningh/tenfourfox/media/libyuv -I . -I /Users/cunningh/tenfourfox/media/libyuv/include -I /Users/cunningh/tenfourfox/media/libyuv -I ../../../ipc/ipdl/ipdlheaders -I /Users/cunningh/tenfourfox/ipc/chromium/src -I /Users/cunningh/tenfourfox/ipc/glue -I ../../../dist/include -I /Users/cunningh/tenfourfox/jpeg-imageio -arch ppc -force_cpusubtype_ALL -v -o row_common.o Apple Inc version cctools-895, GNU assembler version 1.38 /opt/local/bin/../libexec/as/ppc/as: Flag option -v has already been seen! Apple Inc version cctools-895, GNU assembler version 1.38 GNU C++ (MacPorts gcc48 4.8.5_2) version 4.8.5 (ppc-apple-darwin8) compiled by GNU C version 4.8.5, GMP version 6.1.2, MPFR version 3.1.6, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/Developer/SDKs/MacOSX10.4u.sdk/opt/local/include" ignoring nonexistent directory "/opt/local/lib/gcc48/gcc/ppc-apple-darwin8/4.8.5/../../../../../ppc-apple-darwin8/include" ignoring duplicate directory "/Users/cunningh/tenfourfox/media/libyuv" #include "..." search starts here: #include <...> search starts here: /Users/cunningh/tenfourfox/media/libyuv . /Users/cunningh/tenfourfox/media/libyuv/include ../../../ipc/ipdl/_ipdlheaders /Users/cunningh/tenfourfox/ipc/chromium/src /Users/cunningh/tenfourfox/ipc/glue ../../../dist/include /Users/cunningh/tenfourfox/jpeg-imageio /opt/local/include/gcc48/c++/ /opt/local/include/gcc48/c++//ppc-apple-darwin8 /opt/local/include/gcc48/c++//backward /opt/local/lib/gcc48/gcc/ppc-apple-darwin8/4.8.5/include /opt/local/lib/gcc48/gcc/ppc-apple-darwin8/4.8.5/include-fixed /Developer/SDKs/MacOSX10.4u.sdk/usr/include /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks /Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks End of search list. cc1plus: warning: '-mdynamic-no-pic' overrides '-fpic', '-fPIC', '-fpie' or '-fPIE' [enabled by default] GNU C++ (MacPorts gcc48 4.8.5_2) version 4.8.5 (ppc-apple-darwin8) compiled by GNU C version 4.8.5, GMP version 6.1.2, MPFR version 3.1.6, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 07ae2f5e8461a79fefb987cbd9dde39c rs6000_secondary_reload_inner:17193, type = load (parallel [ (set (reg:V16QI 78 v1) (mem:V16QI (and:SI (reg:SI 0 r0 [orig:909 D.19294 ] [909]) (const_int -16 [0xfffffffffffffff0])) [0 MEM[(const uint8 )_171 & 4294967280B]+0 S16 A128])) (clobber (reg:SI 31 r31)) ]) /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc: In function 'void libyuv::I422ToARGB1555Row_C(const uint8, const uint8*, const uint8*, uint8*, int)': /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc:1155:1: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16984 } ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://trac.macports.org/newticket> for instructions. {standard input}:unknown:Undefined local symbol LC1 {standard input}:unknown:Undefined local symbol LC2 {standard input}:unknown:Undefined local symbol LC3 {standard input}:unknown:Undefined local symbol LC4 {standard input}:unknown:Undefined local symbol LC5 {standard input}:unknown:Undefined local symbol LC0 {standard input}:unknown:Undefined local symbol LC6 {standard input}:unknown:Undefined local symbol LC7 {standard input}:unknown:Undefined local symbol LC8 {standard input}:unknown:Undefined local symbol LC9 {standard input}:unknown:Undefined local symbol LC10 {standard input}:unknown:Undefined local symbol LC11 {standard input}:unknown:Undefined local symbol LC12 {standard input}:unknown:Undefined local symbol LC13 {standard input}:unknown:Undefined local symbol LC14 {standard input}:unknown:Undefined local symbol LC15 {standard input}:unknown:Undefined local symbol LC16 {standard input}:unknown:Undefined local symbol LC17 {standard input}:unknown:Undefined local symbol LC18 {standard input}:unknown:Undefined local symbol LC19 {standard input}:unknown:Undefined local symbol LC20 {standard input}:unknown:Undefined local symbol LC21 {standard input}:unknown:Undefined local symbol LC22 {standard input}:unknown:Undefined local symbol LC23 {standard input}:unknown:Undefined local symbol LC24 {standard input}:unknown:Undefined local symbol LC25 {standard input}:unknown:Undefined local symbol LC26 {standard input}:unknown:Undefined local symbol LC27 {standard input}:unknown:Undefined local symbol LC28 {standard input}:unknown:Undefined local symbol LC29 {standard input}:unknown:Undefined local symbol LC30
tigerg5:~/tenfourfox/obj-ff-dbg/media/libyuv/libyuv_libyuv cunningh$ /opt/local/bin/g++-mp-6 -flax-vector-conversions -fpermissive -O3 -mcpu=G5 -m32 -falign-loops=32 -falign-functions=32 -falign-labels=32 -falign-jumps=32 -mmfcrf -mpowerpc-gpopt -read_only_relocs suppress -force_cpusubtype_ALL -mdynamic-no-pic -D_PPC970
-o row_common.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DTENFOURFOX_VMX=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DHAVE_JPEG -DLIBYUV_DISABLE_AVX2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/Users/cunningh/tenfourfox/media/libyuv -I. -I/Users/cunningh/tenfourfox/media/libyuv/include -I/Users/cunningh/tenfourfox/media/libyuv -I../../../ipc/ipdl/ipdlheaders -I/Users/cunningh/tenfourfox/ipc/chromium/src -I/Users/cunningh/tenfourfox/ipc/glue -I../../../dist/include -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/row_common.o.pp -I/Users/cunningh/tenfourfox/jpeg-imageio -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNO_X11 -pipe -DNDEBUG -DTRIMMED -gdwarf-2 -O3 /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc -v -Wl,-v -Wa,-v
Using built-in specs.
COLLECT_GCC=/opt/local/bin/g++-mp-6
Target: ppc-apple-darwin8
Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc6/gcc6/work/gcc-6.4.0/configure --prefix=/opt/local --build=ppc-apple-darwin8 --enable-languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc6 --includedir=/opt/local/include/gcc6 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-6 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-6 --with-gxx-include-dir=/opt/local/include/gcc6/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc6 6.4.0_0'
Thread model: posix
gcc version 6.4.0 (MacPorts gcc6 6.4.0_0)
COLLECT_GCC_OPTIONS='-flax-vector-conversions' '-fpermissive' '-O3' '-mcpu=G5' '-m32' '-falign-loops=32' '-falign-functions=32' '-falign-labels=32' '-falign-jumps=32' '-mmfcrf' '-mpowerpc-gpopt' '-read_only_relocs' 'suppress' '-Zforce_cpusubtype_ALL' '-mdynamic-no-pic' '-D' '_PPC970' '-o' 'row_common.o' '-c' '-fvisibility=hidden' '-fvisibility-inlines-hidden' '-D' 'CHROMIUM_BUILD' '-D' 'USE_LIBJPEG_TURBO=1' '-D' 'ENABLE_ONE_CLICK_SIGNIN' '-D' 'ENABLE_REMOTING=1' '-D' 'ENABLE_WEBRTC=1' '-D' 'ENABLE_CONFIGURATION_POLICY' '-D' 'ENABLE_INPUT_SPEECH' '-D' 'ENABLE_NOTIFICATIONS' '-D' 'ENABLE_HIDPI=1' '-D' 'TENFOURFOX_VMX=1' '-D' 'ENABLE_GPU=1' '-D' 'ENABLE_EGLIMAGE=1' '-D' 'USE_SKIA=1' '-D' 'ENABLE_TASK_MANAGER=1' '-D' 'ENABLE_WEB_INTENTS=1' '-D' 'ENABLE_EXTENSIONS=1' '-D' 'ENABLE_PLUGIN_INSTALLATION=1' '-D' 'ENABLE_PROTECTOR_SERVICE=1' '-D' 'ENABLE_SESSION_SERVICE=1' '-D' 'ENABLE_THEMES=1' '-D' 'ENABLE_BACKGROUND=1' '-D' 'ENABLE_AUTOMATION=1' '-D' 'ENABLE_PRINTING=1' '-D' 'ENABLE_CAPTIVE_PORTAL_DETECTION=1' '-D' 'HAVE_JPEG' '-D' 'LIBYUV_DISABLE_AVX2' '-D' 'NDEBUG' '-D' 'NVALGRIND' '-D' 'DYNAMIC_ANNOTATIONS_ENABLED=0' '-D' 'STATIC_EXPORTABLE_JS_API' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-I' '/Users/cunningh/tenfourfox/media/libyuv' '-I' '.' '-I' '/Users/cunningh/tenfourfox/media/libyuv/include' '-I' '/Users/cunningh/tenfourfox/media/libyuv' '-I' '../../../ipc/ipdl/ipdlheaders' '-I' '/Users/cunningh/tenfourfox/ipc/chromium/src' '-I' '/Users/cunningh/tenfourfox/ipc/glue' '-I' '../../../dist/include' '-fPIC' '-D' 'MOZILLA_CLIENT' '-include' '../../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/row_common.o.pp' '-I' '/Users/cunningh/tenfourfox/jpeg-imageio' '-Wall' '-Wempty-body' '-Woverloaded-virtual' '-Wsign-compare' '-Wwrite-strings' '-Wno-invalid-offsetof' '-Wcast-align' '-isysroot' '/Developer/SDKs/MacOSX10.4u.sdk' '-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno' '-std=gnu++11' '-pthread' '-D' 'NO_X11' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-gdwarf-2' '-O3' '-v' '-mmacosx-version-min=10.4' '-shared-libgcc'
/opt/local/libexec/gcc/ppc-apple-darwin8/6.4.0/cc1plus -quiet -v -I /Users/cunningh/tenfourfox/media/libyuv -I . -I /Users/cunningh/tenfourfox/media/libyuv/include -I /Users/cunningh/tenfourfox/media/libyuv -I ../../../ipc/ipdl/_ipdlheaders -I /Users/cunningh/tenfourfox/ipc/chromium/src -I /Users/cunningh/tenfourfox/ipc/glue -I ../../../dist/include -I /Users/cunningh/tenfourfox/jpeg-imageio -MD row_common.d -MF .deps/row_common.o.pp -MP -MQ row_common.o -DDYNAMIC_ -D_REENTRANT -D PPC970 -D CHROMIUM_BUILD -D USE_LIBJPEG_TURBO=1 -D ENABLE_ONE_CLICK_SIGNIN -D ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D ENABLE_CONFIGURATION_POLICY -D ENABLE_INPUT_SPEECH -D ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D TENFOURFOX_VMX=1 -D ENABLE_GPU=1 -D ENABLE_EGLIMAGE=1 -D USE_SKIA=1 -D ENABLE_TASK_MANAGER=1 -D ENABLE_WEB_INTENTS=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D ENABLE_PROTECTOR_SERVICE=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D ENABLE_BACKGROUND=1 -D ENABLE_AUTOMATION=1 -D ENABLE_PRINTING=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D HAVE_JPEG -D LIBYUV_DISABLE_AVX2 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D STATIC_EXPORTABLE_JS_API -D MOZILLA_INTERNAL_API -D IMPL_LIBXUL -D MOZILLA_CLIENT -D NO_X11 -D NDEBUG -D TRIMMED -include ../../../mozilla-config.h -isysroot /Developer/SDKs/MacOSX10.4u.sdk /Users/cunningh/tenfourfox/media/libyuv/source/row_common.cc -quiet -dumpbase row_common.cc -mcpu=G5 -m32 -mmfcrf -mpowerpc-gpopt -mdynamic-no-pic -mmacosx-version-min=10.4 -auxbase-strip row_common.o -gdwarf-2 -O3 -O3 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -std=gnu++11 -version -flax-vector-conversions -fpermissive -falign-loops=32 -falign-functions=32 -falign-labels=32 -falign-jumps=32 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -o - |
/opt/local/bin/as -v -I /Users/cunningh/tenfourfox/media/libyuv -I . -I /Users/cunningh/tenfourfox/media/libyuv/include -I /Users/cunningh/tenfourfox/media/libyuv -I ../../../ipc/ipdl/ipdlheaders -I /Users/cunningh/tenfourfox/ipc/chromium/src -I /Users/cunningh/tenfourfox/ipc/glue -I ../../../dist/include -I /Users/cunningh/tenfourfox/jpeg-imageio -arch ppc -force_cpusubtype_ALL -v -o row_common.o
Apple Inc version cctools-895, GNU assembler version 1.38
/opt/local/bin/../libexec/as/ppc/as: Flag option -v has already been seen!
Apple Inc version cctools-895, GNU assembler version 1.38
GNU C++11 (MacPorts gcc6 6.4.0_0) version 6.4.0 (ppc-apple-darwin8)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/Developer/SDKs/MacOSX10.4u.sdk/opt/local/include"
ignoring nonexistent directory "/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/../../../../../ppc-apple-darwin8/include"
ignoring duplicate directory "/Users/cunningh/tenfourfox/media/libyuv"
#include "..." search starts here:
#include <...> search starts here:
/Users/cunningh/tenfourfox/media/libyuv
.
/Users/cunningh/tenfourfox/media/libyuv/include
../../../ipc/ipdl/_ipdlheaders
/Users/cunningh/tenfourfox/ipc/chromium/src
/Users/cunningh/tenfourfox/ipc/glue
../../../dist/include
/Users/cunningh/tenfourfox/jpeg-imageio
/opt/local/include/gcc6/c++/
/opt/local/include/gcc6/c++//ppc-apple-darwin8
/opt/local/include/gcc6/c++//backward
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/include
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/include-fixed
/Developer/SDKs/MacOSX10.4u.sdk/usr/include
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks
End of search list.
cc1plus: warning: '-mdynamic-no-pic' overrides '-fpic', '-fPIC', '-fpie' or '-fPIE'
GNU C++11 (MacPorts gcc6 6.4.0_0) version 6.4.0 (ppc-apple-darwin8)
compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.6, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: dfa3a909f98849a01ee7a6b9071c3349
COMPILER_PATH=/opt/local/libexec/gcc/ppc-apple-darwin8/6.4.0/:/opt/local/libexec/gcc/ppc-apple-darwin8/6.4.0/:/opt/local/libexec/gcc/ppc-apple-darwin8/:/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/:/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/
LIBRARY_PATH=/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/:/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/../../../
COLLECT_GCC_OPTIONS='-flax-vector-conversions' '-fpermissive' '-O3' '-mcpu=G5' '-m32' '-falign-loops=32' '-falign-functions=32' '-falign-labels=32' '-falign-jumps=32' '-mmfcrf' '-mpowerpc-gpopt' '-read_only_relocs' 'suppress' '-Zforce_cpusubtype_ALL' '-mdynamic-no-pic' '-D' '_PPC970' '-o' 'row_common.o' '-c' '-fvisibility=hidden' '-fvisibility-inlines-hidden' '-D' 'CHROMIUM_BUILD' '-D' 'USE_LIBJPEG_TURBO=1' '-D' 'ENABLE_ONE_CLICK_SIGNIN' '-D' 'ENABLE_REMOTING=1' '-D' 'ENABLE_WEBRTC=1' '-D' 'ENABLE_CONFIGURATION_POLICY' '-D' 'ENABLE_INPUT_SPEECH' '-D' 'ENABLE_NOTIFICATIONS' '-D' 'ENABLE_HIDPI=1' '-D' 'TENFOURFOX_VMX=1' '-D' 'ENABLE_GPU=1' '-D' 'ENABLE_EGLIMAGE=1' '-D' 'USE_SKIA=1' '-D' 'ENABLE_TASK_MANAGER=1' '-D' 'ENABLE_WEB_INTENTS=1' '-D' 'ENABLE_EXTENSIONS=1' '-D' 'ENABLE_PLUGIN_INSTALLATION=1' '-D' 'ENABLE_PROTECTOR_SERVICE=1' '-D' 'ENABLE_SESSION_SERVICE=1' '-D' 'ENABLE_THEMES=1' '-D' 'ENABLE_BACKGROUND=1' '-D' 'ENABLE_AUTOMATION=1' '-D' 'ENABLE_PRINTING=1' '-D' 'ENABLE_CAPTIVE_PORTAL_DETECTION=1' '-D' 'HAVE_JPEG' '-D' 'LIBYUV_DISABLE_AVX2' '-D' 'NDEBUG' '-D' 'NVALGRIND' '-D' 'DYNAMIC_ANNOTATIONS_ENABLED=0' '-D' 'STATIC_EXPORTABLE_JS_API' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-I' '/Users/cunningh/tenfourfox/media/libyuv' '-I' '.' '-I' '/Users/cunningh/tenfourfox/media/libyuv/include' '-I' '/Users/cunningh/tenfourfox/media/libyuv' '-I' '../../../ipc/ipdl/_ipdlheaders' '-I' '/Users/cunningh/tenfourfox/ipc/chromium/src' '-I' '/Users/cunningh/tenfourfox/ipc/glue' '-I' '../../../dist/include' '-fPIC' '-D' 'MOZILLA_CLIENT' '-include' '../../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/row_common.o.pp' '-I' '/Users/cunningh/tenfourfox/jpeg-imageio' '-Wall' '-Wempty-body' '-Woverloaded-virtual' '-Wsign-compare' '-Wwrite-strings' '-Wno-invalid-offsetof' '-Wcast-align' '-isysroot' '/Developer/SDKs/MacOSX10.4u.sdk' '-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno' '-std=gnu++11' '-pthread' '-D' 'NO_X11' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-gdwarf-2' '-O3' '-v' '-mmacosx-version-min=10.4' '-shared-libgcc'
tigerg5:~/tenfourfox/obj-ff-dbg/media/libyuv/libyuv_libyuv cunningh$ ls
Makefile backend.mk row_common.o
Unified_cpp_media_libyuv0.cpp convert.o
Unified_cpp_media_libyuv1.cpp convert_from.o
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by ken.cunningham.... on 12 Jan, 2018 05:31 AM
For interest, TenFF did build through to completion using gcc6, with one hiccup during the build:
which I attempted to fix with the following cast:That did build throught after that, however on running the application:
2 Posted by Raphaël Guay on 12 Jan, 2018 06:28 AM
Ken,
(I am not a contributor to TenFourFox in any way, and I think this thread is irrespective of the fact this is an end-user support and will be closed)
See comments under my name at https://tenfourfox.blogspot.ca/2018/01/is-powerpc-susceptible-to-spectre-yep.html#comment-form
I was able to work around this. If you get errors from more than one source in libyuv, individually compile each then resume gmake and it should build and run(using gcc-4.8.5).
3 Posted by ken.cunningham.... on 12 Jan, 2018 06:41 AM
Hey, thanks for the pointer. I hadn't thought of trying -O2 instead of -O3. That sounds like a good option.
As below, gcc6 actually did build it, but with some kind of a double freed pointer error.
K
4 Posted by ken.cunningham.... on 12 Jan, 2018 04:48 PM
OK, I see the -O3 turns on "register renaming", which would make sense given that error I suppose. Apparently whatever the issue is in gcc-4.8 has been fixed in gcc-6. The gcc6 build almost works :> . Perhaps I can find a way to automatically set the opt flags back to -O2 just for the libyuv build section. Doing it manually each time would be tedious for anything but a one-off.
Still curious if the main team sees this -- they can't, or it would have been fixed already I think.
5 Posted by Raphaël Guay on 12 Jan, 2018 11:04 PM
This bug was probably introduced along a minor gcc version bump. If you open about:buildconfig in a TFF binary package, you'll see Cameron Kaiser still uses 4.8.2, not 4.8.5. There may(or may not) be eventual reasons for updating gcc, but it's still a major part of the toolchain and there are good reasons for keeping the same versions as long as it's reasonable(especially for 10.4).
If you really need to build without any interaction, maybe you could setup a local macports tree and find an old gcc portfile to be able to install 4.8.2? I have no idea if fixing this issue could be accepted in their worklist since there are workarounds and it doesn't affect 4.8.2 which is still the default compiler.
Since there's (at least) two of us who have had a bit of trouble with 4.8.5 I think providing additional docs for the wiki on github however will be accepted as every test builder is susceptible to running into this.
I'm not saying any more than this; Not sure if it helps, but we're still discussing on the end-user support. Let's not talk this any further here.
6 Posted by ken.cunningham.... on 13 Jan, 2018 01:16 AM
Is there a more appropriate / other place that dev types hang out for TFF?
Support Staff 7 Posted by Cameron Kaiser on 13 Jan, 2018 04:59 AM
I'm willing to take a PR to fix
gcc
4.8.5 or 6 as long as it doesn't regress 4.8.2, which is what I currently build the browser with, and doesn't change semantics otherwise. Just do a regular pull request. If you're unable to, you can also open an issue on Github and attach a patch (please usegit diff
or something sane so that it is easy for me to import).The issue you found with
gcc
6 may be fixed by this patch which landed in Fx48. If it fixes the issue for you, I'll consider taking it for FPR6 (I'd prefer not to import it for FPR5 final): https://hg.mozilla.org/mozilla-central/rev/337789a5f9c6If you'd like to open a general issue on fixing issues with
gcc
and later compilers, just do it on Github; I agree with Raphael it's more appropriate there, though the fixes will have to come from you or others since I'm not planning to upgrade in the immediate future.8 Posted by Raphaël Guay on 13 Jan, 2018 05:59 AM
I have already merged this changeset earlier in my local repo(my build has it applied). It fixes the type error in directionalityutils.cpp in gcc >= 5 (but gcc5 halts later, only 6 succeeds) and removes the warning in 4.9.4 and earlier. XUL will always SIGSEGV when compiled with gcc6, still. I'll PR after FPR5.
Support Staff 9 Posted by Cameron Kaiser on 14 Jan, 2018 06:27 AM
Raphael, see also https://github.com/classilla/tenfourfox/issues/461
Support Staff 10 Posted by Cameron Kaiser on 21 Jan, 2018 04:58 PM
Moved to Github, so I'm closing this.
Cameron Kaiser closed this discussion on 21 Jan, 2018 04:58 PM.