This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libffi broken with your latest change


Jakub,

this patch:

2003-05-16  Jakub Jelinek  <jakub@redhat.com>

        * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
        should be read-only.
        * configure: Rebuilt.
        * fficonfig.h.in: Rebuilt.
        * include/ffi.h.in (EH_FRAME_FLAGS): Define.
        * src/alpha/osf.S: Use EH_FRAME_FLAGS.
        * src/powerpc/linux64.S: Likewise.
        * src/powerpc/linux64_closure.S: Likewise.  Include ffi.h.
        * src/powerpc/sysv.S: Use EH_FRAME_FLAGS.  Use pcrel encoding
        if -fpic/-fPIC/-mrelocatable.
        * src/powerpc/powerpc_closure.S: Likewise.
        * src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
        #write in .eh_frame flags.
        * src/sparc/v9.S: Likewise.
        * src/x86/unix64.S: Use EH_FRAME_FLAGS.
        * src/x86/sysv.S: Likewise.  Use pcrel encoding if -fpic/-fPIC.
        * src/s390/sysv.S: Use EH_FRAME_FLAGS.  Include ffi.h.

Is the only change to libffi in the last few days and since it's in,
i686-linux-gnu does not compile any more:

/builds/gcc/misc/gcc/xgcc -B/builds/gcc/misc/gcc/ -B/opt/gcc/3.4-devel/i686-suse-linux-gnu/bin/ -B/opt/gcc/3.4-devel/i686-suse-linux-gnu/lib/ -isystem /opt/gcc/3.4-devel/i686-suse-linux-gnu/include -isystem /opt/gcc/3.4-devel/i686-suse-linux-gnu/sys-include -fexceptions -O2 -g -O2 -o .libs/ffitest -shared-libgcc .libs/ffitest.o  ./.libs/libffi.so -Wl,--rpath -Wl,/opt/gcc/3.4-devel/lib
./.libs/libffi.so: undefined reference to `FFI_TYPE_DOUBLE'
./.libs/libffi.so: undefined reference to `FFI_TYPE_SINT64'
./.libs/libffi.so: undefined reference to `FFI_TYPE_LONGDOUBLE'
./.libs/libffi.so: undefined reference to `FFI_TYPE_INT'
./.libs/libffi.so: undefined reference to `FFI_TYPE_FLOAT'
collect2: ld returned 1 exit status
make[4]: *** [ffitest] Error 1
make[4]: Leaving directory `/builds/gcc/misc/i686-suse-linux-gnu/libffi'

Can you look into this, please?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]