Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327301 - app-editors/vim-7.2.303 - arm-linux-gnueabi configure: checking size of wchar_t is 2 bytes... configure: error: failed to compile test program
Summary: app-editors/vim-7.2.303 - arm-linux-gnueabi configure: checking size of wchar...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High normal with 1 vote (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 12:46 UTC by Andrey Batyiev
Modified: 2023-01-02 22:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,23.23 KB, text/plain)
2010-07-07 12:49 UTC, Andrey Batyiev
Details
build.log for aarch64-unknown-linux-gnu (aarch64-build.log,10.69 KB, text/plain)
2023-01-02 21:56 UTC, tgyt
Details
aarch64-unknown-linux-gnu-emerge --info (aarch64.txt,6.57 KB, text/plain)
2023-01-02 21:57 UTC, tgyt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Batyiev 2010-07-07 12:46:43 UTC
I was trying to cross-compile vim for ARM, and fail at configure message:

checking size of wchar_t is 2 bytes... configure: error: failed to compile test program

Reproducible: Always

Steps to Reproduce:




Portage 2.1.8.3 (default/linux/arm/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-20-generic i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-20-generic-i686-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 07 Jul 2010 12:30:21 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
CHOST="armv7a-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo"
CPPFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
CTARGET="armv7a-softfloat-linux-gnueabi"
CXXFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_UA.utf8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/armv7a-softfloat-linux-gnueabi/packages"
PORTAGE_CONFIGROOT="/usr/armv7a-softfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/crossdev /usr/local/portage /var/lib/layman/embedded-cross"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arm bash-completion berkdb bzip2 cli cracklib crypt cups curl cxx fortran gdbm gpm iconv modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt4 readline reflection session spl sqlite ssl sysfs tcpd unicode vim-syntax xorg zlib zsh-completion" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident        voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Batyiev 2010-07-07 12:49:07 UTC
Created attachment 237883 [details]
build log
Comment 2 Tim Harder gentoo-dev 2015-06-19 07:01:44 UTC
Closing as obsolete since I'm pretty sure this isn't an issue anymore with current versions since I've cross-compiled a few versions for arm semi-recently.
Comment 3 Fab 2015-07-18 12:18:13 UTC
(In reply to Tim Harder from comment #2)
> Closing as obsolete since I'm pretty sure this isn't an issue anymore with
> current versions since I've cross-compiled a few versions for arm
> semi-recently.

Unfortunately this is still an issue here.
Trying to cross-compile vim-7.4.273 for my armv7 box fails with :
> configure: error: failed to compile test program

I can't attach my build log, the submit form does not respond (maybe because bug is closed ?)

Which version do you cross-compile for arm please ?
Comment 4 Tim Harder gentoo-dev 2015-07-18 16:13:52 UTC
(In reply to Fab from comment #3)
> (In reply to Tim Harder from comment #2)
> > Closing as obsolete since I'm pretty sure this isn't an issue anymore with
> > current versions since I've cross-compiled a few versions for arm
> > semi-recently.
> 
> Unfortunately this is still an issue here.
> Trying to cross-compile vim-7.4.273 for my armv7 box fails with :
> > configure: error: failed to compile test program
> 
> I can't attach my build log, the submit form does not respond (maybe because
> bug is closed ?)

Open a new bug.
Comment 5 tgyt 2023-01-02 21:56:52 UTC
Created attachment 846764 [details]
build.log for aarch64-unknown-linux-gnu
Comment 6 tgyt 2023-01-02 21:57:30 UTC
Created attachment 846766 [details]
aarch64-unknown-linux-gnu-emerge --info
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-02 21:58:46 UTC
(In reply to tgyt from comment #5)
> Created attachment 846764 [details]
> build.log for aarch64-unknown-linux-gnu

Please open a new bug. It's unlikely your issue is the same one as from 13 years ago.
Comment 8 tgyt 2023-01-02 22:12:31 UTC
(In reply to Sam James from comment #7)
> (In reply to tgyt from comment #5)
> > Created attachment 846764 [details]
> > build.log for aarch64-unknown-linux-gnu
> 
> Please open a new bug. It's unlikely your issue is the same one as from 13
> years ago.

I searched for "checking size of wchar_t is 2 bytes... configure: error: failed to compile test program" because it was exacly what I'm getting. So description of this bug is same as one I ran into. I also got exacly same error message.

But vim compiles for armv7a-unknown-linux-gnueabihf just fine, so maybe yes, new bug.