bugGNUstep - Bugs: bug #14430, ./configure fails checking for FFI...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14430: ./configure fails checking for FFI libraries on gcc4

Submitted by:  None
Submitted on:  Tue 06 Sep 2005 12:00:33 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 09 Oct 2005 10:18:32 AM UTC, comment #2:

The current CVS version works fine for me.

The error message quoted:

./config/config.forward.m:5: error: '__objc_msg_forward' undeclared (first use in this function)

would seem to say that the system has a very old version of libobjc installed ... which doesn't support __objc_msg_forward

Richard Frith-Macdonald <CaS>
Project Member
Tue 06 Sep 2005 12:03:57 AM UTC, comment #1:

ah - after googling I've found that the config.forward.m file should have fixed the 'upcomming gcc4' bug, but it still remains.

Ah, and I've been trying to compile v1.11.0

Anonymous
Tue 06 Sep 2005 12:00:33 AM UTC, original submission:

Hi. I've tried to compile gnustep-base on PLD-linux, with gcc4 and got something like this after invoking ./configure (actually invoking it in rpmbuild with all the needed flags applied, like -I and -L/-l):

checking "use of fake-main definition"... no
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
checking callback.h usability... yes
checking callback.h presence... yes
checking for callback.h... yes
checking "for forwarding callback in runtime"... no
checking "FFI library usage"... none

You do not have an up-to-date libobjc library installed
GNUstep requires ffcall or libffi and proper libobjc hooks to do
invocations and DO.
(This does not apply on apple-apple-apple systems where DO is
not compatible with other GNUstep systems.)

You most likely do not want to build base without DO support. Many
things, including all applications, won't work at all without DO.
If you really want to build -base without DO support, add --disable-do
to the configure arguments.
For more information, read the GNUstep build guide, ffcall section:
http://documents.made-it.com/GNUstep/buildguide.html#FOREIGN.FUNCTION.INTERFACES
configure: error: Incomplete support for ffi functionality.
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.6122 (%build)

I've tried building it with all variations of libffi installed, ffcall installed, --enable/disable{libffi,ffcall} and got still the same otput. In config log:

configure:13780: checking "for forwarding callback in runtime"
configure:13786: /usr/local/bin/gcc -c -fgnu-runtime -I/usr/include -I/usr/lib/gcc/athlon-pld-linux/4.0.1/include/objc -O2 -march=athlon-xp -mfpmath=sse -pipe -I/usr/lib/GNUstep/System/Library/Headers/gnu-gnu-gnu -fgnu-runtime -x objective-c conftest.c >&5
In file included from conftest.c:1:
./config/config.forward.m: In function 'main':
./config/config.forward.m:5: error: '__objc_msg_forward' undeclared (first use in this function)
./config/config.forward.m:5: error: (Each undeclared identifier is reported only once
./config/config.forward.m:5: error: for each function it appears in.)
configure:13792: $? = 1
configure: failed program was:
| #include "./config/config.forward.m"
configure:13814: result: no
configure:13822: checking "FFI library usage"
configure:13944: result: none
configure:13965: error: Incomplete support for ffi functionality.

Did a lot of experiments wit it (thus the strange include paths etc..), but it doesn't compile out of a box also.

[czarny@melchior RPMS]$ gcc -v
Reading specs from /usr/lib/gcc/athlon-pld-linux/4.0.1/specs
Target: athlon-pld-linux
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,f95,objc,ada,java --enable-c99 --enable-long-long --disable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-demangler-in-ld --with-system-zlib --with-slibdir=/lib --without-x --enable-cmath --enable-libgcj --enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo athlon-pld-linux
Thread model: posix
gcc version 4.0.1 20050521 (prerelease) (PLD Linux)

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 09 Oct 2005 10:18:32 AM UTCCaSStatusNone=>Works For Me
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1