#81 failed to compile on x86 error: 'GNU_REG_EAX' undeclared

closed-rejected
nobody
None
5
2010-03-23
2010-02-26
Anonymous
No

Making all in rpctool
make[1]: Entering directory `/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100223.236320/work/open-vm-tools-2010.02.23-236320/rpctool'
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"2010.02.23\" -DPACKAGE_STRING=\"open-vm-tools\ 2010.02.23\" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"2010.02.23\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_IO_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LSEEK=1 -I. -I/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100223.236320/work/open-vm-tools-2010.02.23-236320/lib/include -I/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100223.236320/work/open-vm-tools-2010.02.23-236320/lib/include -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -I/usr/include -DUSE_ICU -DVMX86_TOOLS -DNO_CORE_ICU -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DGLIBC_VERSION_21 -DGLIBC_VERSION_23 -O2 -march=i686 -pipe -Wall -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -MT rpctool.o -MD -MP -MF .deps/rpctool.Tpo -c -o rpctool.o rpctool.c
rpctool.c: In function 'SignalHandler':
rpctool.c:81: error: 'GNU_REG_EDX' undeclared (first use in this function)
rpctool.c:81: error: (Each undeclared identifier is reported only once
rpctool.c:81: error: for each function it appears in.)
rpctool.c:82: error: 'GNU_REG_EAX' undeclared (first use in this function)
make[1]: *** [rpctool.o] Error 1

Discussion

  • Anonymous - 2010-02-26

    What distro are you using (and the glibc version of that distro)?

    Could you try configure with CFLAGS="-DGLIBC_VERSION_22" to see if it works?

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-02-26

    I use Gentoo:
    gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686

    Tnx.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-02-26
     
  • Anonymous - 2010-02-26

    What about my second question? Didn't see any mentions in the gentoo tracker.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-02-26

    Yes, it's compiled successfully with CFLAGS="-DGLIBC_VERSION_22"

     
  • Anonymous - 2010-02-26

    Could you send your open-vm-tools config,log, and also /usr/include/iconv.h (or, if present, /usr/include/iconv/iconv.h) from your machine?

    I don't see how our check could fail given the sources for glibc 2.10.1 from the GNU site, maybe a look at those files will help us.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-02-26

    config.log

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-02-26

    /usr/include/iconv.h

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-02-26

    config.log and iconv.h are attached.
    There is no /usr/include/iconv/iconv.h on my machine.

     
  • Anonymous - 2010-02-26

    configure:29745: checking for the new format of iconv
    configure:29778: i686-pc-linux-gnu-gcc -c -O2 -march=i686 -pipe -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -I/usr/include -DUSE_ICU conftest.c >&5

    This command is missing "-Werror", so that's why the check is doing the wrong thing. Does gentoo apply any patches to configure.ac that would explain that?

     
  • Dmitry Torokhov

    Dmitry Torokhov - 2010-02-27

    Please file a bug against Gentoo ebuild. Filtering out -Werror out of configure.ac is not the best idea. From http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20100119.226760.ebuild?view=markup :

    src_prepare() {
    epatch "${FILESDIR}/default-scripts1.patch"
    epatch "${FILESDIR}/checkvm-pie-safety.patch"
    sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
    sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
    sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
    }

     
  • Dmitry Torokhov

    Dmitry Torokhov - 2010-02-27
    • status: open --> open-rejected
     
  • Anonymous - 2010-03-23
    • status: open-rejected --> closed-rejected
     

Log in to post a comment.