Menu

#84 PPC64 won't compile, cludged to compile doesnt connect

v1.0 (example)
open
nobody
None
5
2016-10-19
2016-10-19
joseph kane
No

on PPC64 (pSeries P5-52)
Gentoo Linux
iometer-1.1.0
g++ -v
Using built-in specs.
COLLECT_GCC=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.7.3/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc64-unknown-linux-gnu/4.7.3/lto-wrapper
Target: powerpc64-unknown-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/configure --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.7.3 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.7.3/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.7.3 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.7.3/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.7.3/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.7.3/include/g++-v4 --with-python-dir=/share/gcc-data/powerpc64-unknown-linux-gnu/4.7.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.3-r1 p1.4, pie-0.5.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog --without-ppl
Thread model: posix
gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5)

unable to compile

make -f Makefile-Linux.ppc all
/usr/bin/g++ -O3 -Wall -D_GNU_SOURCE -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_LINUX -DIOMTR_CPU_PPC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN -c Pulsar.cpp
In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.7.3/include/g++-v4/sstream:581:0,
from IOPort.h:83,
from IOManager.h:93,
from Pulsar.cpp:136:
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.7.3/include/g++-v4/bits/sstream.tcc: In member function ‘virtual std::basic_stringbuf<_Cha rT, _Traits, _Alloc>::int_type std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(std::basic_stringbuf<_CharT, _Traits, _Alloc>: :int_type)’:
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.7.3/include/g++-v4/bits/sstream.tcc:112:39: error: expected unqualified-id before ‘(’ toke n
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.7.3/include/g++-v4/bits/sstream.tcc:114:35: error: expected unqualified-id before ‘(’ toke n
Makefile-Linux.ppc:144: recipe for target 'Pulsar.o' failed
make: *** [Pulsar.o] Error 1

so in the follwing, just before the include (i know not listed above but if just do the ones above the following get listed as problematic)
Pulsar.cpp
IOManager.h
IOManager.cpp
IOPort.h
IOGrunt.cpp
IOTargetTCP.h
NetTCP.h
NetTCP.h
Network.h

I added #undef max and #undef min
this lets me compile, hurrah!

however, when running dynamo connecting to IOMeter on Win64 i get
"Receiving data failed -- invalid Data_Message size encountered. Check structure packing on dynamo build!"

and on the pSeries server I have
"Successful PortTCP::Connect

  • port name: 192.168.136.82
    ===> ERROR: Send failed.
    [PortTCP::SynchSend() in IOPortTCP.cpp line 792]
    errno = 104
    error repeats 1 time(s).
    Get port error in SynchReceive.

*** Unable to receive a reply from Iometer
Ending execution.
"

any suggestions on what i might do next?
i would like a ppc64 compiled dynamo connecting to Win64 IOMeter

thanks a million!

Discussion


Log in to post a comment.