public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug boehm-gc/25652]  New: Java support for amd64-pc-freebsd
@ 2006-01-03 16:41 arno at heho dot snv dot jussieu dot fr
  2006-01-03 16:43 ` [Bug boehm-gc/25652] " arno at heho dot snv dot jussieu dot fr
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2006-01-03 16:41 UTC (permalink / raw)
  To: gcc-bugs

Hello,

Java is not supported for the amd64--freebsd targets, essentially
because of lacking support in boehm-gc.
I created a simple patch to do so :

 - no credits to me: most of this is directly inspired
   by the official freebsd-port of boehm-gc

 - tested for over 6 months on a non-graphical application
   with long-lasting scientific calculations (mixing
   C++, Fortran and Java code)

Concerning the patch :

  - the boehm-gc/include/gc_cpp.h-diff is only 
    to quiet the compiler,
  - the GC_parallel-diff in boehm-gc/pthread_support.c
    is not amd64--freebsd specific, but I did not test
    without it.

Thanx for your great work.


-- 
           Summary: Java support for amd64-pc-freebsd
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: boehm-gc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: arno at heho dot snv dot jussieu dot fr
GCC target triplet: amd64-pc-freebsd[56]


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



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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
@ 2006-01-03 16:43 ` arno at heho dot snv dot jussieu dot fr
  2006-01-03 22:55 ` arno at heho dot snv dot jussieu dot fr
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2006-01-03 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from arno at heho dot snv dot jussieu dot fr  2006-01-03 16:43 -------
Created an attachment (id=10578)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10578&action=view)
Add support for amd64--freebsd


-- 


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



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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
  2006-01-03 16:43 ` [Bug boehm-gc/25652] " arno at heho dot snv dot jussieu dot fr
@ 2006-01-03 22:55 ` arno at heho dot snv dot jussieu dot fr
  2006-01-29 17:34 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2006-01-03 22:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from arno at heho dot snv dot jussieu dot fr  2006-01-03 22:54 -------
I forgot to mention : correct libjava testsuite results :

                === libjava Summary ===

# of expected passes            3964
# of unexpected failures        24
# of expected failures          10
# of untested testcases         26

FAIL: cxxtest.cc compilation
FAIL: PR16923.c compilation
Running
/files/home/scito/.scito/tools/gcc41-branch/gcc/libjava/testsuite/libjav
a.lang/lang.exp ...
FAIL: PR18699 execution - gij test
FAIL: PR18699 execution - gij test
WARNING: program timed out.
FAIL: Process_1 execution - gij test
WARNING: program timed out.
FAIL: Process_1 execution - gij test
WARNING: program timed out.
FAIL: Process_2 execution - gij test
WARNING: program timed out.
FAIL: Process_2 execution - gij test
WARNING: program timed out.
FAIL: Process_3 execution - gij test
WARNING: program timed out.
FAIL: Process_3 execution - gij test
WARNING: program timed out.
FAIL: Process_4 execution - gij test
WARNING: program timed out.
FAIL: Process_5 execution - gij test
WARNING: program timed out.
FAIL: Process_6 execution - gij test
WARNING: program timed out.
FAIL: Process_6 execution - gij test
FAIL: Thread_Interrupt output - gij test
FAIL: Thread_Interrupt output - gij test
FAIL: Thread_Wait_Interrupt output - bytecode->native test
FAIL: Thread_Wait_Interrupt -O3 output - source compiled test
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 execution - bytecode->native test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 -O3 execution - bytecode->native test


-- 


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



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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
  2006-01-03 16:43 ` [Bug boehm-gc/25652] " arno at heho dot snv dot jussieu dot fr
  2006-01-03 22:55 ` arno at heho dot snv dot jussieu dot fr
@ 2006-01-29 17:34 ` pinskia at gcc dot gnu dot org
  2006-01-30 16:37 ` tromey at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-29 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-29 17:34 -------
Confirmed, patches go to gcc-patches@ and java-patches@.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-29 17:34:54
               date|                            |


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (2 preceding siblings ...)
  2006-01-29 17:34 ` pinskia at gcc dot gnu dot org
@ 2006-01-30 16:37 ` tromey at gcc dot gnu dot org
  2006-07-26 18:37 ` arno at heho dot snv dot jussieu dot fr
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-01-30 16:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tromey at gcc dot gnu dot org  2006-01-30 16:37 -------
You may want to send the GC patch upstream, to the GC list.


-- 

tromey at gcc dot gnu dot org changed:

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


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (3 preceding siblings ...)
  2006-01-30 16:37 ` tromey at gcc dot gnu dot org
@ 2006-07-26 18:37 ` arno at heho dot snv dot jussieu dot fr
  2006-10-23 14:58 ` arno at heho dot snv dot jussieu dot fr
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2006-07-26 18:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from arno at heho dot snv dot jussieu dot fr  2006-07-26 18:36 -------
Created an attachment (id=11950)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11950&action=view)
take-II this one works at -head as well

Bon,

apparently I'm (almost) the only one who uses gcj on freebsd-amd64, but here's
another patch; the basic differences with the first one are removal of unneeded
diffs (apart non-tested gcconfig.h support for freebsd-[arm|powerpc]) and
explicitly using FREEBSD_STACKBOTTOM as well as GC_FreeBSDGetDataStart().

 === libjava Summary ===

# of expected passes            6887
# of unexpected failures        21
# of expected failures          12
# of untested testcases         28

Failures are :

FAIL: PR16923.c
FAIL: PR27908
FAIL: Throw_2


-- 


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (4 preceding siblings ...)
  2006-07-26 18:37 ` arno at heho dot snv dot jussieu dot fr
@ 2006-10-23 14:58 ` arno at heho dot snv dot jussieu dot fr
  2007-08-25 14:55 ` gerald at pfeifer dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2006-10-23 14:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from arno at heho dot snv dot jussieu dot fr  2006-10-23 14:58 -------
Created an attachment (id=12480)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12480&action=view)
Take III

Most of the original patch probably has been commited when
adding support for GNU/kFreeBSD.

However, this final small patch is still needed to actually
recognise freebsd-amd64 and correctly build and run
boehm-gc when --enable-libgcj is given


-- 

arno at heho dot snv dot jussieu dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10578|0                           |1
        is obsolete|                            |
  Attachment #11950|0                           |1
        is obsolete|                            |


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (5 preceding siblings ...)
  2006-10-23 14:58 ` arno at heho dot snv dot jussieu dot fr
@ 2007-08-25 14:55 ` gerald at pfeifer dot com
  2007-09-13 10:46 ` arno at heho dot snv dot jussieu dot fr
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gerald at pfeifer dot com @ 2007-08-25 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from gerald at pfeifer dot com  2007-08-25 14:55 -------
Is this patch still relevant as is?  I'd like to ask our Java developers
to have a look, but it would be good if you (as the original submitter)
could verify and, if needed, provide a patch against our current development
tree.

Thanks!


-- 

gerald at pfeifer dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (6 preceding siblings ...)
  2007-08-25 14:55 ` gerald at pfeifer dot com
@ 2007-09-13 10:46 ` arno at heho dot snv dot jussieu dot fr
  2007-09-13 10:48 ` arno at heho dot snv dot jussieu dot fr
  2008-01-26 12:25 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2007-09-13 10:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from arno at heho dot snv dot jussieu dot fr  2007-09-13 10:46 -------


Since January commits to boehm-gc for handling amd64/x86-64 cpu under
GNU/kFreeBSD, I confirm that libgcj-support is OK for x86_64*freebsd

IMHO this PR can be closed

I propose a last 'patch' to hook it by default on
the build


-- 


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (7 preceding siblings ...)
  2007-09-13 10:46 ` arno at heho dot snv dot jussieu dot fr
@ 2007-09-13 10:48 ` arno at heho dot snv dot jussieu dot fr
  2008-01-26 12:25 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: arno at heho dot snv dot jussieu dot fr @ 2007-09-13 10:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from arno at heho dot snv dot jussieu dot fr  2007-09-13 10:48 -------
Created an attachment (id=14201)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14201&action=view)
No longer exclude libgcj on x86_64.


-- 

arno at heho dot snv dot jussieu dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12480|0                           |1
        is obsolete|                            |


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


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

* [Bug boehm-gc/25652] Java support for amd64-pc-freebsd
  2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
                   ` (8 preceding siblings ...)
  2007-09-13 10:48 ` arno at heho dot snv dot jussieu dot fr
@ 2008-01-26 12:25 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-26 12:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2008-01-26 12:04 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2008-01-26 12:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-03 16:41 [Bug boehm-gc/25652] New: Java support for amd64-pc-freebsd arno at heho dot snv dot jussieu dot fr
2006-01-03 16:43 ` [Bug boehm-gc/25652] " arno at heho dot snv dot jussieu dot fr
2006-01-03 22:55 ` arno at heho dot snv dot jussieu dot fr
2006-01-29 17:34 ` pinskia at gcc dot gnu dot org
2006-01-30 16:37 ` tromey at gcc dot gnu dot org
2006-07-26 18:37 ` arno at heho dot snv dot jussieu dot fr
2006-10-23 14:58 ` arno at heho dot snv dot jussieu dot fr
2007-08-25 14:55 ` gerald at pfeifer dot com
2007-09-13 10:46 ` arno at heho dot snv dot jussieu dot fr
2007-09-13 10:48 ` arno at heho dot snv dot jussieu dot fr
2008-01-26 12:25 ` rguenth at gcc dot gnu dot org

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