Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
armv5te and objective C
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
luigi.galvani
n00b
n00b


Joined: 23 Mar 2011
Posts: 5

PostPosted: Mon Dec 31, 2012 9:37 pm    Post subject: armv5te and objective C Reply with quote

Hello,
I have to add support for objective C (i want to install SOGo) and i have problem with compiling gnustep-base on my (great :) ) gentoo ARMV5 machine:

Code:

[ebuild  N    *] gnustep-base/gnustep-base-1.24.0-r1  USE="icu libffi ssl -debug -doc -zeroconf" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) gnustep-base/gnustep-base-1.24.0-r1
 * gnustep-base-1.24.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [ ok ]
>>> Unpacking source...
...

armv5tel-softfloat-linux-gnueabi-gcc GCObject.m -c \
      -MMD -MP -Wall -Wdeclaration-after-statement -DNO_GNUSTEP=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -march=armv5te -fgnu-runtime -fgnu-runtime -fconstant-string-class=NSConstantString -I/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/image///usr/include/ObjectiveC2 -fexec-charset=UTF-8 -finput-charset=UTF-8 -I../. -I../ -I../../Headers -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/lib/libffi-3.0.11/include -I/usr/lib/libffi-3.0.11/include -I/usr/include/libxml2 -I/usr/include -I/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include \
       -o obj/Additions.obj/GCObject.m.o
{standard input}: Assembler messages:
{standard input}:1430: Error: symbol `_OBJC_CLASS_GCObject' is already defined
{standard input}:1434: Error: symbol `_OBJC_METACLASS_GCObject' is already defined
make[4]: *** [obj/Additions.obj/GCObject.m.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [internal-subproject-all_] Error 2
make[2]: *** [Additions.all.subproject.variables] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/gnustep-base-1.24.0/Source/Additions'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/gnustep-base-1.24.0/Source'
make: *** [internal-all] Error 2
 * ERROR: gnustep-base/gnustep-base-1.24.0-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.24.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.24.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/gnustep-base-1.24.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/gnustep-base-1.24.0'

>>> Failed to emerge gnustep-base/gnustep-base-1.24.0-r1, Log file:

>>>  '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/temp/build.log'

 * Messages for package gnustep-base/gnustep-base-1.24.0-r1:

 * ERROR: gnustep-base/gnustep-base-1.24.0-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.24.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.24.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/gnustep-base-1.24.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.24.0-r1/work/gnustep-base-1.24.0'


Compiler gcc was succefully compiled with:

Code:

gcc -v
Using built-in specs.
COLLECT_GCC=/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.5.4/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv5tel-softfloat-linux-gnueabi/4.5.4/lto-wrapper
Target: armv5tel-softfloat-linux-gnueabi
Configured with: /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/configure --prefix=/usr --bindir=/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.5.4 --includedir=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.5.4/include --datadir=/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.5.4 --mandir=/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.5.4/man --infodir=/usr/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.5.4/info --with-gxx-include-dir=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.5.4/include/g++-v4 --host=armv5tel-softfloat-linux-gnueabi --build=armv5tel-softfloat-linux-gnueabi --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --with-float=soft --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/armv5tel-softfloat-linux-gnueabi/4.5.4/python --enable-checking=release --disable-libgcj --with-arch=armv5t --enable-languages=c,c++,objc,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.4 p1.0, pie-0.4.7'
Thread model: posix
gcc version 4.5.4 (Gentoo 4.5.4 p1.0, pie-0.4.7)


Complete enviroment info:
Code:

# emerge --info
Portage 2.1.11.31 (default/linux/arm/10.0/armv5te, gcc-4.5.4, glibc-2.15-r3, 3.4.9-gentoo armv5tel)
=================================================================
System uname: Linux-3.4.9-gentoo-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.1
Timestamp of tree: Wed, 26 Dec 2012 00:00:01 +0000
ld GNU ld (GNU Binutils) 2.21.1
distcc 3.1 armv5tel-softfloat-linux-gnueabi [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-moje_ebuildy
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="*"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv5te"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-O2 -pipe -march=armv5te"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.UTF8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/lib/layman/moje_ebuildy"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 accessibility acl acpi apm arm berkdb bindist bzip2 cdr cgi cli cracklib crypt cxx dvdr dvdread encode fbdev ffmpeg fortran ftp gdbm gpm iconv minimal modules mudflap mysql ncurses network nfs nls nptl nptlonly nsplugin openmp pam pcre php posix pppd readline rrdtool sdl session snmp sockets ssl stream symlink tcpd threads udev unicode usb utf8 xvfb zip zlib" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev dummy" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Any ideas what i'm doing wrong..?
Back to top
View user's profile Send private message
ryao
Developer
Developer


Joined: 27 Feb 2012
Posts: 119

PostPosted: Tue Jan 01, 2013 2:47 am    Post subject: Reply with quote

You should file a bug report at bugs.gentoo.org.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum