public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
@ 2008-03-06 15:24 ` Laurent dot Vivier at bull dot net
  2008-03-06 19:41 ` green at redhat dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Laurent dot Vivier at bull dot net @ 2008-03-06 15:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from Laurent dot Vivier at bull dot net  2008-03-06 15:24 -------
Created an attachment (id=15274)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15274&action=view)
Add AIX 64bit support


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484]  New: libffi doesn't support AIX 64bit
@ 2008-03-06 15:24 Laurent dot Vivier at bull dot net
  2008-03-06 15:24 ` [Bug libffi/35484] " Laurent dot Vivier at bull dot net
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Laurent dot Vivier at bull dot net @ 2008-03-06 15:24 UTC (permalink / raw)
  To: gcc-bugs

When compiling libffi on AIX with ppc64 target, libffi fails.
Assembler parts of libffi manage only 32bit AIX.


-- 
           Summary: libffi doesn't support AIX 64bit
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libffi
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Laurent dot Vivier at bull dot net
  GCC host triplet: powerpc-ibm-aix6.1.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
  2008-03-06 15:24 ` [Bug libffi/35484] " Laurent dot Vivier at bull dot net
@ 2008-03-06 19:41 ` green at redhat dot com
  2008-03-11 12:03 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: green at redhat dot com @ 2008-03-06 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from green at redhat dot com  2008-03-06 19:40 -------
Thanks for this patch.  If you haven't already done so, please submit it to
gcc-patches@gcc.gnu.org.  Be sure to include proper ChangeLog entries.

Thanks!

AG


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
  2008-03-06 15:24 ` [Bug libffi/35484] " Laurent dot Vivier at bull dot net
  2008-03-06 19:41 ` green at redhat dot com
@ 2008-03-11 12:03 ` pinskia at gcc dot gnu dot org
  2008-07-11 21:57 ` dje at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-11 12:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-03-11 12:02:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (2 preceding siblings ...)
  2008-03-11 12:03 ` pinskia at gcc dot gnu dot org
@ 2008-07-11 21:57 ` dje at gcc dot gnu dot org
  2009-11-09 13:47 ` shailen dot n dot jain at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dje at gcc dot gnu dot org @ 2008-07-11 21:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dje at gcc dot gnu dot org  2008-07-11 21:56 -------
This patch needs an assignment.


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (3 preceding siblings ...)
  2008-07-11 21:57 ` dje at gcc dot gnu dot org
@ 2009-11-09 13:47 ` shailen dot n dot jain at gmail dot com
  2009-11-30 23:35 ` dje at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: shailen dot n dot jain at gmail dot com @ 2009-11-09 13:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from shailen dot n dot jain at gmail dot com  2009-11-09 13:47 -------
(In reply to comment #1)
> Created an attachment (id=15274)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15274&action=view) [edit]
> Add AIX 64bit support
> 

 I was trying to compile Mozilla Firefox latest build ( 3.7 a1pre) on AIX
64-bit.

      But I got a compiler/linker error while building libffi module (
https://bugzilla.mozilla.org/show_bug.cgi?id=527410 ).  I tried applying this
patch, but this did not resolve the linker error - undefined symbol
.ffi_closure_helper_DARWIN.

Adding the below lines in aix_closure.S did resolve the 'undefined symbol error
- .ffi_closure_helper_DARWIN'

# .text section
   .extern .ffi_closure_helper_DARWIN


-- 

shailen dot n dot jain at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shailen dot n dot jain at
                   |                            |gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (4 preceding siblings ...)
  2009-11-09 13:47 ` shailen dot n dot jain at gmail dot com
@ 2009-11-30 23:35 ` dje at gcc dot gnu dot org
  2009-12-01  6:18 ` shailen dot n dot jain at gmail dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dje at gcc dot gnu dot org @ 2009-11-30 23:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dje at gcc dot gnu dot org  2009-11-30 23:34 -------
Subject: Bug 35484

Author: dje
Date: Mon Nov 30 23:34:33 2009
New Revision: 154855

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154855
Log:
2009-11-30  David Edelsohn  <edelsohn@gnu.org>

        PR target/35484
        * src/powerpc/ffitarget.h (POWERPC64): Define for PPC64 Linux and
        AIX64.
        * src/powerpc/aix.S: Implement AIX64 version.
        * src/powerpc/aix_closure.S: Implement AIX64 version.
        (ffi_closure_ASM): Use extsb, lha and displament addresses.
        * src/powerpc/ffi_darwin.c (ffi_prep_args): Implement AIX64
        support.
        (ffi_prep_cif_machdep): Same.
        (ffi_call): Same.
        (ffi_closure_helper_DARWIN): Same.

Modified:
    trunk/libffi/ChangeLog
    trunk/libffi/src/powerpc/aix.S
    trunk/libffi/src/powerpc/aix_closure.S
    trunk/libffi/src/powerpc/ffi_darwin.c
    trunk/libffi/src/powerpc/ffitarget.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (5 preceding siblings ...)
  2009-11-30 23:35 ` dje at gcc dot gnu dot org
@ 2009-12-01  6:18 ` shailen dot n dot jain at gmail dot com
  2009-12-01 16:52 ` dje at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: shailen dot n dot jain at gmail dot com @ 2009-12-01  6:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from shailen dot n dot jain at gmail dot com  2009-12-01 06:18 -------
In which version these changes are available for AIX on 64 bit ?

Thanks,
Shailen


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (6 preceding siblings ...)
  2009-12-01  6:18 ` shailen dot n dot jain at gmail dot com
@ 2009-12-01 16:52 ` dje at gcc dot gnu dot org
  2009-12-03  1:33 ` dje at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dje at gcc dot gnu dot org @ 2009-12-01 16:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dje at gcc dot gnu dot org  2009-12-01 16:52 -------
The changes are not available in any version and the changes are not complete.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (7 preceding siblings ...)
  2009-12-01 16:52 ` dje at gcc dot gnu dot org
@ 2009-12-03  1:33 ` dje at gcc dot gnu dot org
  2009-12-03  9:37 ` shailen dot n dot jain at gmail dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dje at gcc dot gnu dot org @ 2009-12-03  1:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dje at gcc dot gnu dot org  2009-12-03 01:33 -------
The support in GCC trunk now is feature complete and operational.


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (8 preceding siblings ...)
  2009-12-03  1:33 ` dje at gcc dot gnu dot org
@ 2009-12-03  9:37 ` shailen dot n dot jain at gmail dot com
  2009-12-03  9:50 ` dominiq at lps dot ens dot fr
  2009-12-03 13:16 ` dominiq at lps dot ens dot fr
  11 siblings, 0 replies; 13+ messages in thread
From: shailen dot n dot jain at gmail dot com @ 2009-12-03  9:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from shailen dot n dot jain at gmail dot com  2009-12-03 09:37 -------
what is the new version in which these changes can be found?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (9 preceding siblings ...)
  2009-12-03  9:37 ` shailen dot n dot jain at gmail dot com
@ 2009-12-03  9:50 ` dominiq at lps dot ens dot fr
  2009-12-03 13:16 ` dominiq at lps dot ens dot fr
  11 siblings, 0 replies; 13+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-12-03  9:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dominiq at lps dot ens dot fr  2009-12-03 09:50 -------
Revision 154855 (comment #5) has broken bootstrap on ppc-darwin (pr42243). This
is now fixed, but there are now ~60 new failures (see comment #2 of pr42243).
What is the best strategy to keep track of the problem:

(1) continue to use pr42243,
(2) use this pr and close pr42243 as fixed,
(3) open a new pr and close pr42243 as fixed?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libffi/35484] libffi doesn't support AIX 64bit
  2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
                   ` (10 preceding siblings ...)
  2009-12-03  9:50 ` dominiq at lps dot ens dot fr
@ 2009-12-03 13:16 ` dominiq at lps dot ens dot fr
  11 siblings, 0 replies; 13+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-12-03 13:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from dominiq at lps dot ens dot fr  2009-12-03 13:15 -------
Richard Guenther has closed pr42243 as fixed which only the (b) and (c)
options. After a clean bootstrap at revision 154924 and an update to 154943, I
still have the following failures:

                === libffi tests ===


Running target unix
FAIL: libffi.call/cls_double_va.c -O0 -W -Wall output pattern test, is -0.0
FAIL: libffi.call/cls_longdouble.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_longdouble_va.c -O0 -W -Wall output pattern test, is -0.0
FAIL: libffi.call/float.c -O0 -W -Wall execution test
FAIL: libffi.call/float4.c -O0 -W -Wall execution test
FAIL: libffi.call/many.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct5.c -O0 -W -Wall execution test
FAIL: libffi.call/return_dbl.c -O0 -W -Wall execution test
FAIL: libffi.call/return_dbl1.c -O0 -W -Wall execution test
FAIL: libffi.call/return_dbl2.c -O0 -W -Wall execution test
FAIL: libffi.call/return_fl.c -O0 -W -Wall execution test
FAIL: libffi.call/return_fl1.c -O0 -W -Wall execution test
FAIL: libffi.call/return_fl2.c -O0 -W -Wall execution test
FAIL: libffi.call/return_fl3.c -O0 -W -Wall execution test
FAIL: libffi.call/return_ldl.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_double_va.c -O2 output pattern test, is -0.0
FAIL: libffi.call/cls_longdouble.c -O2 execution test
FAIL: libffi.call/cls_longdouble_va.c -O2 output pattern test, is -0.0
FAIL: libffi.call/float.c -O2 execution test
FAIL: libffi.call/float4.c -O2 execution test
FAIL: libffi.call/many.c -O2 execution test
FAIL: libffi.call/return_dbl.c -O2 execution test
FAIL: libffi.call/return_dbl1.c -O2 execution test
FAIL: libffi.call/return_dbl2.c -O2 execution test
FAIL: libffi.call/return_fl.c -O2 execution test
FAIL: libffi.call/return_fl1.c -O2 execution test
FAIL: libffi.call/return_fl2.c -O2 execution test
FAIL: libffi.call/return_fl3.c -O2 execution test
FAIL: libffi.call/return_ldl.c -O2 execution test
FAIL: libffi.call/cls_double_va.c -O3 output pattern test, is -0.0
FAIL: libffi.call/cls_longdouble.c -O3 execution test
FAIL: libffi.call/cls_longdouble_va.c -O3 output pattern test, is -0.0
FAIL: libffi.call/float.c -O3 execution test
FAIL: libffi.call/float4.c -O3 execution test
FAIL: libffi.call/many.c -O3 execution test
FAIL: libffi.call/return_dbl.c -O3 execution test
FAIL: libffi.call/return_dbl1.c -O3 execution test
FAIL: libffi.call/return_dbl2.c -O3 execution test
FAIL: libffi.call/return_fl.c -O3 execution test
FAIL: libffi.call/return_fl1.c -O3 execution test
FAIL: libffi.call/return_fl2.c -O3 execution test
FAIL: libffi.call/return_fl3.c -O3 execution test
FAIL: libffi.call/return_ldl.c -O3 execution test
FAIL: libffi.call/cls_double_va.c -Os output pattern test, is -0.0
FAIL: libffi.call/cls_longdouble.c -Os execution test
FAIL: libffi.call/cls_longdouble_va.c -Os output pattern test, is -0.0
FAIL: libffi.call/float.c -Os execution test
FAIL: libffi.call/float4.c -Os execution test
FAIL: libffi.call/many.c -Os execution test
FAIL: libffi.call/return_dbl.c -Os execution test
FAIL: libffi.call/return_dbl1.c -Os execution test
FAIL: libffi.call/return_dbl2.c -Os execution test
FAIL: libffi.call/return_fl.c -Os execution test
FAIL: libffi.call/return_fl1.c -Os execution test
FAIL: libffi.call/return_fl2.c -Os execution test
FAIL: libffi.call/return_fl3.c -Os execution test
FAIL: libffi.call/return_ldl.c -Os execution test
FAIL: libffi.call/cls_double_va.c -O2 -fomit-frame-pointer output pattern test,
is -0.0
FAIL: libffi.call/cls_longdouble.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_longdouble_va.c -O2 -fomit-frame-pointer output pattern
test, is -0.0
FAIL: libffi.call/float.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/float4.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/many.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_dbl.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_dbl1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_dbl2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_fl.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_fl1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_fl2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_fl3.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/return_ldl.c -O2 -fomit-frame-pointer execution test

                === libffi Summary for unix ===

# of expected passes            1532
# of unexpected failures        71
# of expected failures          10
# of unsupported tests          15

Running target unix/-m64
FAIL: libffi.call/closure_fn0.c -O0 -W -Wall execution test
...
FAIL: libffi.special/unwindtest_ffi_call.cc  -shared-libgcc -lstdc++ execution
test

                === libffi Summary for unix/-m64 ===

# of expected passes            593
# of unexpected failures        583
# of expected failures          10
# of unsupported tests          15

                === libffi Summary ===

# of expected passes            2125
# of unexpected failures        654
# of expected failures          20
# of unsupported tests          30

Compiler version: gcc libffi 
Platform: powerpc-apple-darwin9
configure flags: --prefix=/opt/gcc/gcc4.5w --mandir=/opt/gcc/gcc4.5w/share/man
--infodir=/opt/gcc/gcc4.5w/share/info --build=powerpc-apple-darwin9
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/usr --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --with-cloog=/sw --with-ppl=/sw --with-mpc=/sw


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35484


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-12-03 13:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-06 15:24 [Bug libffi/35484] New: libffi doesn't support AIX 64bit Laurent dot Vivier at bull dot net
2008-03-06 15:24 ` [Bug libffi/35484] " Laurent dot Vivier at bull dot net
2008-03-06 19:41 ` green at redhat dot com
2008-03-11 12:03 ` pinskia at gcc dot gnu dot org
2008-07-11 21:57 ` dje at gcc dot gnu dot org
2009-11-09 13:47 ` shailen dot n dot jain at gmail dot com
2009-11-30 23:35 ` dje at gcc dot gnu dot org
2009-12-01  6:18 ` shailen dot n dot jain at gmail dot com
2009-12-01 16:52 ` dje at gcc dot gnu dot org
2009-12-03  1:33 ` dje at gcc dot gnu dot org
2009-12-03  9:37 ` shailen dot n dot jain at gmail dot com
2009-12-03  9:50 ` dominiq at lps dot ens dot fr
2009-12-03 13:16 ` dominiq at lps dot ens dot fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).