Discussion:
port lang/gnustep-base - make configure fails on ia64
(too old to reply)
Anton Shterenlikht
2010-03-10 12:29:23 UTC
Permalink
On FreeBSD 9.0-CURRENT #0 r203484M
port lang/gnustep-base fails "make configure".

Please see the log here:
http://seis.bris.ac.uk/~mexas/gnustep-base-ia64.log

Portsmon is empty for this port, so I've no
idea if this is a regression:

http://portsmon.freebsd.org/portoverview.py?category=lang&portname=gnustep-base

many thanks
anton
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Anton Shterenlikht
2010-03-10 22:15:02 UTC
Permalink
Hallo Anton Shterenlikht,
Post by Anton Shterenlikht
On FreeBSD 9.0-CURRENT #0 r203484M
port lang/gnustep-base fails "make configure".
http://seis.bris.ac.uk/~mexas/gnustep-base-ia64.log
collect2: ld returned 1 exit status
Please rebuild your gcc port.
pkg_info -xo gcc-
gcc42 --version
gcc42 (GCC) 4.2.5 20090325 (prerelease)

and still get the same error.

I must say that gcc42 is marked "NOT_FOR_ARCHS= ia64 powerpc",
which I've overwritten manually.
Perhaps the fact that gcc42 now builds on ia64 doesn't
mean that is works correctly..

many thanks
anton
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Anton Shterenlikht
2010-03-12 09:29:01 UTC
Permalink
Hallo Anton Shterenlikht,
Post by Anton Shterenlikht
I must say that gcc42 is marked "NOT_FOR_ARCHS= ia64 powerpc",
which I've overwritten manually.
Perhaps the fact that gcc42 now builds on ia64 doesn't
mean that is works correctly..
I think so too.
Please try to build gnustep with a newer gcc.
Put on of the following options in /etc/make.conf
GNUSTEP_WITH_GCC43=yes
GNUSTEP_WITH_GCC44=yes
Dirk, no luck

gcc43/44/45 fail to build on ia64.
I suspect they never did.
if all this fails, put the following options in /etc/make.conf
GNUSTEP_WITH_BASE_GCC=yes
This triggers building of lang/gnustep-objc which fails as well:

===> Building for gnustep-objc-1.6.0,1
This is gnustep-make 2.2.0. Type 'gmake print-gnustep-make-help' for help.
Making all for clibrary libobjc...
Compiling file archive.c ...
archive.c:27:21: error: tconfig.h: No such file or directory
gmake[2]: *** [obj/archive.c.o] Error 1
gmake[1]: *** [internal-library-all_] Error 2
gmake: *** [libobjc.all.clibrary.variables] Error 2
*** Error code 2


It seems gcc doesn't like ia64 at all.

many thanks
anton
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Anton Shterenlikht
2010-03-12 11:48:06 UTC
Permalink
last try put both in /etc/make.conf
GNUSTEP_WITH_BASE_GCC=yes
GNUSTEP_WITHOUT_LIBOBJC=yes
Dirk

this seems to have worked

many thanks
anton
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Marcel Moolenaar
2010-03-11 01:30:44 UTC
Permalink
Post by Anton Shterenlikht
On FreeBSD 9.0-CURRENT #0 r203484M
port lang/gnustep-base fails "make configure".
http://seis.bris.ac.uk/~mexas/gnustep-base-ia64.log
Portsmon is empty for this port, so I've no
http://portsmon.freebsd.org/portoverview.py?category=lang&portname=gnustep-base
This is the problem:

/usr/local/lib/gcc42/gcc/ia64-portbld-freebsd9.0/4.2.5/../../../libobjc.so: undefined reference to `***@GCC_3.0'
/usr/local/lib/gcc42/gcc/ia64-portbld-freebsd9.0/4.2.5/../../../libobjc.so: undefined reference to `***@GCC_3.0'

The libobjc on FreeBSD/ia64 is missing 2 functions.
--
Marcel Moolenaar
***@mac.com
Anton Shterenlikht
2010-03-11 01:40:37 UTC
Permalink
Post by Marcel Moolenaar
Post by Anton Shterenlikht
On FreeBSD 9.0-CURRENT #0 r203484M
port lang/gnustep-base fails "make configure".
http://seis.bris.ac.uk/~mexas/gnustep-base-ia64.log
Portsmon is empty for this port, so I've no
http://portsmon.freebsd.org/portoverview.py?category=lang&portname=gnustep-base
The libobjc on FreeBSD/ia64 is missing 2 functions.
I tried to check and got this:

# ar -t /usr/local/lib/gcc42/libobjc.so.2
ar: warning: Unrecognized archive format

# ldd /usr/local/lib/gcc42/libobjc.so.2
ldd: /usr/local/lib/gcc42/libobjc.so.2: not a FreeBSD ELF shared object


thanks
anton
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Loading...