Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

port lang/gnustep-base - make configure fails on ia64

4 views
Skip to first unread message

Anton Shterenlikht

unread,
Mar 10, 2010, 7:29:23 AM3/10/10
to din...@freebsd.org, freebs...@freebsd.org
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

unread,
Mar 10, 2010, 5:15:02 PM3/10/10
to Dirk Meyer, ger...@freebsd.org, freebs...@freebsd.org
On Wed, Mar 10, 2010 at 09:20:47PM +0100, Dirk Meyer wrote:
> Hallo Anton Shterenlikht,

>
> > 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
>
> /usr/local/lib/gcc42/gcc/ia64-portbld-freebsd9.0/4.2.5/../../../libobjc.so: undefined reference to `__ia64_restore_stack_nonlocal@GCC_3.0'
> /usr/local/lib/gcc42/gcc/ia64-portbld-freebsd9.0/4.2.5/../../../libobjc.so: undefined reference to `__ia64_save_stack_nonlocal@GCC_3.0'
> collect2: ld returned 1 exit status
>
> Please rebuild your gcc port.

I've rebuilt gcc42:

> pkg_info -xo gcc-
Information for gcc-4.2.5.20090325_2:

> 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..

Marcel Moolenaar

unread,
Mar 10, 2010, 8:30:44 PM3/10/10
to Anton Shterenlikht, din...@freebsd.org, freebs...@freebsd.org

On Mar 10, 2010, at 4:29 AM, Anton Shterenlikht wrote:

> 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


This is the problem:

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

The libobjc on FreeBSD/ia64 is missing 2 functions.

--
Marcel Moolenaar
xcl...@mac.com

Anton Shterenlikht

unread,
Mar 10, 2010, 8:40:37 PM3/10/10
to Marcel Moolenaar, din...@freebsd.org, freebs...@freebsd.org

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

Anton Shterenlikht

unread,
Mar 12, 2010, 4:29:01 AM3/12/10
to Dirk Meyer, freebs...@freebsd.org
On Thu, Mar 11, 2010 at 10:43:50AM +0100, Dirk Meyer wrote:
> Hallo 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.

Anton Shterenlikht

unread,
Mar 12, 2010, 6:48:06 AM3/12/10
to Dirk Meyer, freebs...@freebsd.org
On Fri, Mar 12, 2010 at 12:07:43PM +0100, Dirk Meyer wrote:
>
> last try put both in /etc/make.conf
> GNUSTEP_WITH_BASE_GCC=yes
> GNUSTEP_WITHOUT_LIBOBJC=yes

Dirk

this seems to have worked

0 new messages