Menu

#769 build error on PPC - debughelper.cpp: In member function 'void SimulatedCPU::set_all(void*)': debughelper.cpp:796:20: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'

None
fixed
nobody
None
1
2013-10-11
2013-07-23
jlec
No

powerpc-unknown-linux-gnu-g++ -c -include .obj/texstudio -O2 -pipe -D_REENTRANT -Wall -W -DPREFIX=\"/usr\" -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/usr/include/quazip -I/usr/include/poppler/qt4 -I/usr/include/hunspell -I.moc -I.ui -o .obj/spellerutility.o spellerutility.cpp
debughelper.cpp: In function 'void print_backtrace(const SimulatedCPU&, const QString&)':
debughelper.cpp:217:28: warning: format not a string literal and no format arguments [-Wformat-security]
debughelper.cpp: In member function 'void SimulatedCPU::set_all(void)':
debughelper.cpp:796:20: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'
debughelper.cpp:796:20: error: 'REG_EIP' was not declared in this scope
debughelper.cpp:797:23: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'
debughelper.cpp:797:23: error: 'REG_EBP' was not declared in this scope
debughelper.cpp:798:23: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'
debughelper.cpp:798:23: error: 'REG_ESP' was not declared in this scope
debughelper.cpp: In member function 'void SimulatedCPU::get_all(void
)':
debughelper.cpp:807:13: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'
debughelper.cpp:807:13: error: 'REG_EIP' was not declared in this scope
debughelper.cpp:808:13: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'
debughelper.cpp:808:13: error: 'REG_EBP' was not declared in this scope
debughelper.cpp:809:13: error: 'union ucontext::uc_regs_ptr' has no member named 'gregs'
debughelper.cpp:809:13: error: 'REG_ESP' was not declared in this scope
buildmanager.cpp: In member function 'void BuildManager::readSettings(QSettings&)':

Discussion

  • jlec

    jlec - 2013-07-23

    Portage 2.1.11.55 (default/linux/powerpc/ppc64/13.0/32bit-userland, gcc-4.6.3, glibc-2.15-r3, 3.2.34udev ppc64)

    System uname: Linux-3.2.34udev-ppc64-POWER7_-architected-with-gentoo-2.2
    KiB Mem: 16515732 total, 4497320 free
    KiB Swap: 7814548 total, 7801288 free
    ld GNU ld (GNU Binutils) 2.22
    app-shells/bash: 4.2_p37
    dev-java/java-config: 2.1.12-r1
    dev-lang/python: 2.7.3-r3, 3.2.3-r2
    dev-util/cmake: 2.8.9
    dev-util/pkgconfig: 0.28
    sys-apps/baselayout: 2.2
    sys-apps/openrc: 0.11.8
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.13, 2.69
    sys-devel/automake: 1.11.6, 1.12.6
    sys-devel/binutils: 2.22-r1
    sys-devel/gcc: 4.6.3
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.82-r4
    sys-kernel/linux-headers: 3.7 (virtual/os-headers)
    sys-libs/glibc: 2.15-r3
    Repositories: gentoo x-portage
    ACCEPT_KEYWORDS="ppc"
    ACCEPT_LICENSE="*"
    CBUILD="powerpc-unknown-linux-gnu"
    CFLAGS="-O2 -pipe"
    CHOST="powerpc-unknown-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/
    /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/
    /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
    CXXFLAGS="-O2 -pipe"
    DISTDIR="/usr/portage/distfiles/"
    EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going y -1"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox
    sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://gentoo.osuosl.org/"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
    MAKEOPTS="-j30"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles
    --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY="/usr/local/portage"
    SYNC="rsync://bobolink.gentoo.osuosl.org/gentoo-portage"
    USE="X acl berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri fontconfig fortran gcc64 gdbm gpm gudev hwdb iconv ipv6 jpeg kde minizip modules mudflap ncurses nls nptl
    ogg opengl openmp pam pcre png policykit ppc qt3support qt4 readline semantic-desktop session ssl tcpd unicode vorbis zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx
    aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958
    ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
    LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="am fil zh af ca cs da de el es et gl hu nb nl pl pt ro ru sk sl sv uk bg cy en eo fo ga he id ku lt
    lv mk ms nn sw tn zu ja zh_TW en_GB pt_BR ko zh_CN ar en_CA fi kk oc sr tr fa wa nds as be bn bn_BD bn_IN en_US es_AR es_CL es_ES es_MX eu fy fy_NL ga_IE gu gu_IN hi hi_IN
    is ka kn ml mr nn_NO or pa pa_IN pt_PT rm si sq sv_SE ta ta_LK te th vi ast dz km my om sh ug uz ca@valencia sr@ijekavian sr@ijekavianlatin sr@latin csb hne mai se es_LA
    fr_CA zh_HK br la no es_CR et_EE sr_CS bo hsb hy mn sr@Latn lb ne bs tg uz@cyrillic xh be_BY brx ca_XV dgo en_ZA gd kok ks ky lo mni nr ns pap ps rw sa_IN sat sd ss st
    sw_TZ ti ts ve mt ia az me tl ak hy_AM lg nso son ur_PK it fr nb nb_NO hr nan ur tk cs_CZ da_DK de_1901 de_CH en_AU lt_LT pl_PL sa sk_SK th_TH ta_IN tt sco ha mi ven ar_SY
    el_GR ro_RO ru_RU sl_SI uk_UA vi_VN ar_SY te_IN de_DE es_VE fa_IR fr_FR hu_HU id_ID it_IT ja_JP ka_GE nl_NL sr_BA sr_RS ca_ES fi_FI he_IL jv ru_gold yi eu_ES"
    OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19"
    USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident dummy v4l"
    USE_PYTHON="2.7 3.2"

     
  • jlec

    jlec - 2013-07-23

    Build.log

     
  • Benito van der Zander

    Try r4133

    If that does not work, what does "gcc -dM -E - < /dev/null" print in the terminal?

     
  • jlec

    jlec - 2013-08-07

    The OR says it doesn't work.

    define DBL_MIN_EXP (-1021)
    define UINT_LEAST16_MAX 65535
    define FLT_MIN 1.17549435082228750796873653722225e-38F
    define UINT_LEAST8_TYPE unsigned char
    define INTMAX_C(c) c ## LL
    define __CHAR_BIT
    8
    define UINT8_MAX 255
    define WINT_MAX 4294967295U
    define ORDER_LITTLE_ENDIAN 1234
    define SIZE_MAX 4294967295U
    define WCHAR_MAX 2147483647L
    define GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
    define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
    define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
    define __DBL_DENORM_MIN
    ((double)4.94065645841246544176568792868221e-324L)
    define FLT_EVAL_METHOD 0
    define unix 1
    define UINT_FAST64_MAX 18446744073709551615ULL
    define SIG_ATOMIC_TYPE int
    define DBL_MIN_10_EXP (-307)
    define FINITE_MATH_ONLY 0
    define GNUC_PATCHLEVEL 3
    define UINT_FAST8_MAX 255
    define DEC64_MAX_EXP 385
    define INT8_C(c) c
    define __UINT_LEAST64_MAX
    18446744073709551615ULL
    define SHRT_MAX 32767
    define LDBL_MAX 1.79769313486231580793728971405301e+308L
    define UINT_LEAST8_MAX 255
    define _ARCH_PPC 1
    define UINTMAX_TYPE long long unsigned int
    define linux 1
    define __DEC32_EPSILON
    1E-6DF
    define CHAR_UNSIGNED 1
    define UINT32_MAX 4294967295U
    define LDBL_MAX_EXP 1024
    define WINT_MIN 0U
    define linux 1
    define SCHAR_MAX 127
    define WCHAR_MIN (-WCHAR_MAX - 1)
    define INT64_C(c) c ## LL
    define __DBL_DIG
    15
    define _FORTIFY_SOURCE 2
    define SIZEOF_INT 4
    define SIZEOF_POINTER 4
    define USER_LABEL_PREFIX
    define STDC_HOSTED 1
    define LDBL_HAS_INFINITY 1
    define FLT_EPSILON 1.19209289550781250000000000000000e-7F
    define _CALL_SYSV 1
    define LDBL_MIN 2.00416836000897277799610805135016e-292L
    define DEC32_MAX 9.999999E96DF
    define INT32_MAX 2147483647
    define SIZEOF_LONG 4
    define UINT16_C(c) c
    define __DECIMAL_DIG
    33
    define gnu_linux 1
    define LDBL_HAS_QUIET_NAN 1
    define GNUC 4
    define FLT_HAS_DENORM 1
    define SIZEOF_LONG_DOUBLE 16
    define BIGGEST_ALIGNMENT 16
    define DBL_MAX ((double)1.79769313486231570814527423731704e+308L)
    define INT_FAST32_MAX 2147483647
    define DBL_HAS_INFINITY 1
    define DEC32_MIN_EXP (-94)
    define INT_FAST16_TYPE int
    define LDBL_HAS_DENORM 1
    define DEC128_MAX 9.999999999999999999999999999999999E6144DL
    define INT_LEAST32_MAX 2147483647
    define DEC32_MIN 1E-95DF
    define DBL_MAX_EXP 1024
    define DEC128_EPSILON 1E-33DL
    define PTRDIFF_MAX 2147483647
    define LONG_LONG_MAX 9223372036854775807LL
    define SIZEOF_SIZE_T 4
    define PPC 1
    define SIZEOF_WINT_T 4
    define GXX_ABI_VERSION 1002
    define __FLT_MIN_EXP
    (-125)
    define INT_FAST64_TYPE long long int
    define FP_FAST_FMAF 1
    define __DBL_MIN
    ((double)2.22507385850720138309023271733240e-308L)
    define LONGDOUBLE128 1
    define __DEC128_MIN
    1E-6143DL
    define REGISTER_PREFIX
    define UINT16_MAX 65535
    define DBL_HAS_DENORM 1
    define UINT8_TYPE unsigned char
    define NO_INLINE 1
    define FLT_MANT_DIG 24
    define VERSION "4.6.3"
    define UINT64_C(c) c ## ULL
    define __BIG_ENDIAN
    1
    define FLOAT_WORD_ORDER ORDER_BIG_ENDIAN
    define INT32_C(c) c
    define __DEC64_EPSILON
    1E-15DD
    define ORDER_PDP_ENDIAN 3412
    define DEC128_MIN_EXP (-6142)
    define INT_FAST32_TYPE int
    define powerpc 1
    define UINT_LEAST16_TYPE short unsigned int
    define unix 1
    define INT16_MAX 32767
    define SIZE_TYPE unsigned int
    define UINT64_MAX 18446744073709551615ULL
    define INT8_TYPE signed char
    define ELF 1
    define HAVE_BSWAP 1
    define FLT_RADIX 2
    define INT_LEAST16_TYPE short int
    define LDBL_EPSILON 4.94065645841246544176568792868221e-324L
    define UINTMAX_C(c) c ## ULL
    define __SIG_ATOMIC_MAX
    2147483647
    define SIZEOF_PTRDIFF_T 4
    define DEC32_SUBNORMAL_MIN 0.000001E-95DF
    define INT_FAST16_MAX 2147483647
    define UINT_FAST32_MAX 4294967295U
    define UINT_LEAST64_TYPE long long unsigned int
    define FLT_HAS_QUIET_NAN 1
    define FLT_MAX_10_EXP 38
    define LONG_MAX 2147483647L
    define DEC128_SUBNORMAL_MIN 0.000000000000000000000000000000001E-6143DL
    define FLT_HAS_INFINITY 1
    define unix 1
    define __UINT_FAST16_TYPE
    unsigned int
    define DEC64_MAX 9.999999999999999E384DD
    define CHAR16_TYPE short unsigned int
    define PRAGMA_REDEFINE_EXTNAME 1
    define __INT_LEAST16_MAX
    32767
    define DEC64_MANT_DIG 16
    define INT64_MAX 9223372036854775807LL
    define UINT_LEAST32_MAX 4294967295U
    define INT_LEAST64_TYPE long long int
    define INT16_TYPE short int
    define INT_LEAST8_TYPE signed char
    define DEC32_MAX_EXP 97
    define _BIG_ENDIAN 1
    define INT_FAST8_MAX 127
    define INTPTR_MAX 2147483647
    define linux 1
    define PPC 1
    define __LDBL_MANT_DIG
    106
    define DBL_HAS_QUIET_NAN 1
    define SIG_ATOMIC_MIN (-SIG_ATOMIC_MAX - 1)
    define INTPTR_TYPE int
    define UINT16_TYPE short unsigned int
    define WCHAR_TYPE long int
    define SIZEOF_FLOAT 4
    define UINTPTR_MAX 4294967295U
    define DEC64_MIN_EXP (-382)
    define INT_FAST64_MAX 9223372036854775807LL
    define FLT_DIG 6
    define powerpc 1
    define __UINT_FAST64_TYPE
    long long unsigned int
    define INT_MAX 2147483647
    define LONG_DOUBLE_128 1
    define INT64_TYPE long long int
    define FLT_MAX_EXP 128
    define DBL_MANT_DIG 53
    define INT_LEAST64_MAX 9223372036854775807LL
    define DEC64_MIN 1E-383DD
    define WINT_TYPE unsigned int
    define UINT_LEAST32_TYPE unsigned int
    define SIZEOF_SHORT 2
    define LDBL_MIN_EXP (-968)
    define INT_LEAST8_MAX 127
    define LDBL_MAX_10_EXP 308
    define DBL_EPSILON ((double)2.22044604925031308084726333618164e-16L)
    define UINT8_C(c) c
    define PPC 1
    define __INT_LEAST32_TYPE
    int
    define SIZEOF_WCHAR_T 4
    define UINT64_TYPE long long unsigned int
    define INT_FAST8_TYPE signed char
    define DBL_DECIMAL_DIG 17
    define DEC_EVAL_METHOD 2
    define powerpc 1
    define ORDER_BIG_ENDIAN 4321
    define UINT32_C(c) c ## U
    define __INTMAX_MAX
    9223372036854775807LL
    define BYTE_ORDER ORDER_BIG_ENDIAN
    define FLT_DENORM_MIN 1.40129846432481707092372958328992e-45F
    define INT8_MAX 127
    define UINT_FAST32_TYPE unsigned int
    define CHAR32_TYPE unsigned int
    define FLT_MAX 3.40282346638528859811704183484517e+38F
    define FP_FAST_FMA 1
    define __INT32_TYPE
    int
    define SIZEOF_DOUBLE 8
    define FLT_MIN_10_EXP (-37)
    define INTMAX_TYPE long long int
    define DEC128_MAX_EXP 6145
    define GNUC_MINOR 6
    define UINTMAX_MAX 18446744073709551615ULL
    define DEC32_MANT_DIG 7
    define DBL_MAX_10_EXP 308
    define LDBL_DENORM_MIN 4.94065645841246544176568792868221e-324L
    define INT16_C(c) c
    define __STDC
    1
    define PTRDIFF_TYPE int
    define UINT32_TYPE unsigned int
    define UINTPTR_TYPE unsigned int
    define DEC64_SUBNORMAL_MIN 0.000000000000001E-383DD
    define DEC128_MANT_DIG 34
    define LDBL_MIN_10_EXP (-291)
    define SIZEOF_LONG_LONG 8
    define LDBL_DIG 31
    define FLT_DECIMAL_DIG 9
    define UINT_FAST16_MAX 4294967295U
    define GNUC_GNU_INLINE 1
    define UINT_FAST8_TYPE unsigned char

     

    Last edit: jlec 2013-08-07
  • Benito van der Zander

    Oh it is uppercase.

    Changed.

     
  • Benito van der Zander

    • status: open --> fixed
    • Group: -->
     
  • Benito van der Zander

    should be fixed by the uppercasing

    (if not, the changes of (4015 (d7722fa3be94)) could have fixed it)

     

Log in to post a comment.

MongoDB Logo MongoDB