public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin
@ 2005-03-23 15:03 pinskia at gcc dot gnu dot org
  2005-03-25 21:34 ` [Bug treelang/20604] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 15:03 UTC (permalink / raw)
  To: gcc-bugs

You can tell that it does not get passed -fPIC by the following failure in the testsuite:
Executing on host: /Users/pinskia/src/new-fold/gcc/objdir/gcc/xgcc -B/Users/pinskia/src/new-fold/
gcc/objdir/gcc/ /Users/pinskia/src/new-fold/gcc/gcc/testsuite/treelang/execute/funccall.tree     -lm   
-o ./funccall.exe    (timeout = 300)
/usr/bin/ld: /var/tmp//ccbSoNBy.o has external relocation entries in non-writable section 
(__TEXT,__text) for symbols:^M
_abort^M
_exit^M
collect2: ld returned 1 exit status^M
compiler exited with status 1 
output is:
/usr/bin/ld: /var/tmp//ccbSoNBy.o has external relocation entries in non-writable section 
(__TEXT,__text) for symbols:^M_abort^M
_exit^M
collect2: ld returned 1 exit status^M

FAIL: treelang/execute/funccall.tree (test for excess errors)
Excess errors:
/usr/bin/ld: /var/tmp//ccbSoNBy.o has external relocation entries in non-writable section 
(__TEXT,__text) for symbols:
_abort
_exit

With -v I get:
 /Users/pinskia/src/new-fold/gcc/objdir/gcc/tree1 -quiet -dumpbase funccall.tree -v -o /var/tmp//
ccLOPtCF.s /Users/pinskia/src/new-fold/gcc/gcc/testsuite/treelang/execute/funccall.tree

-- 
           Summary: treelang does not get passed -fPIC by default on *-
                    darwin
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: treelang
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
@ 2005-03-25 21:34 ` pinskia at gcc dot gnu dot org
  2005-03-25 21:39 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-25 21:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-25 21:33 -------
I am about to post a patch for this one.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-25 21:33:57
               date|                            |


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
  2005-03-25 21:34 ` [Bug treelang/20604] " pinskia at gcc dot gnu dot org
@ 2005-03-25 21:39 ` pinskia at gcc dot gnu dot org
  2005-04-01 15:01 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-25 21:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-25 21:39 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02391.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-04-01 15:01 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-01 15:01 ` pinskia at gcc dot gnu dot org
  2005-08-08 17:28 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-01 15:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-01 15:01 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
  2005-03-25 21:34 ` [Bug treelang/20604] " pinskia at gcc dot gnu dot org
  2005-03-25 21:39 ` pinskia at gcc dot gnu dot org
@ 2005-04-01 15:01 ` cvs-commit at gcc dot gnu dot org
  2005-04-01 15:01 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-01 15:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-01 15:01 -------
Subject: Bug 20604

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2005-04-01 15:01:31

Modified files:
	gcc/treelang   : ChangeLog lang-specs.h 

Log message:
	2005-04-01  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR treelang/20604
	* lang-spec.c: Simplify @treelang to what the other
	languages do.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/ChangeLog.diff?cvsroot=gcc&r1=1.120&r2=1.121
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/lang-specs.h.diff?cvsroot=gcc&r1=1.3&r2=1.4



-- 


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-04-01 15:01 ` pinskia at gcc dot gnu dot org
@ 2005-08-08 17:28 ` pinskia at gcc dot gnu dot org
  2005-08-08 17:53 ` christian dot joensson at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-08 17:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 17:28 -------
*** Bug 23061 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian dot joensson at
                   |                            |gmail dot com


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-08-08 17:28 ` pinskia at gcc dot gnu dot org
@ 2005-08-08 17:53 ` christian dot joensson at gmail dot com
  2005-08-09 15:31 ` mmitchel at gcc dot gnu dot org
  2005-08-09 19:03 ` christian dot joensson at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: christian dot joensson at gmail dot com @ 2005-08-08 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From christian dot joensson at gmail dot com  2005-08-08 17:53 -------
well... the patch applies cleanly still on the 4.0 branch... I sure would love
to see this applied there also...

unfortunately, I see it does not apply to the 3.4 branch...

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


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-08-08 17:53 ` christian dot joensson at gmail dot com
@ 2005-08-09 15:31 ` mmitchel at gcc dot gnu dot org
  2005-08-09 19:03 ` christian dot joensson at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-09 15:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-08-09 15:31 -------
This patch is OK for the 4.0 branch, if someone wants to go ahead and apply it
there.  It's not a major priority, since treelang is not one of the primary
languages, but it's OK to apply it.

-- 


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


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

* [Bug treelang/20604] treelang does not get passed -fPIC by default on *-darwin
  2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-08-09 15:31 ` mmitchel at gcc dot gnu dot org
@ 2005-08-09 19:03 ` christian dot joensson at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: christian dot joensson at gmail dot com @ 2005-08-09 19:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From christian dot joensson at gmail dot com  2005-08-09 19:03 -------
well, applied to 4.0, works fine, one FAIL in -m64:

		=== treelang tests ===


Running target unix/-m64
FAIL: gcc 01 01 rc!=0

		=== treelang Summary for unix/-m64 ===

# of expected passes		46
# of unexpected failures	1

Running target unix

		=== treelang Summary for unix ===


		=== treelang Summary ===

# of expected passes		46
# of unexpected failures	1

Compiler version: 4.0.2 20050809 (prerelease) 
Platform: sparc64-unknown-linux-gnu
configure flags: --enable-__cxa_atexit --enable-shared --with-cpu=v7
--enable-languages=c,ada,c++,f95,java,objc,treelang

Now, could we also have the patch from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23072 I'd be even more pleased :)

-- 


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


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

end of thread, other threads:[~2005-08-09 19:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-23 15:03 [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin pinskia at gcc dot gnu dot org
2005-03-25 21:34 ` [Bug treelang/20604] " pinskia at gcc dot gnu dot org
2005-03-25 21:39 ` pinskia at gcc dot gnu dot org
2005-04-01 15:01 ` cvs-commit at gcc dot gnu dot org
2005-04-01 15:01 ` pinskia at gcc dot gnu dot org
2005-08-08 17:28 ` pinskia at gcc dot gnu dot org
2005-08-08 17:53 ` christian dot joensson at gmail dot com
2005-08-09 15:31 ` mmitchel at gcc dot gnu dot org
2005-08-09 19:03 ` christian dot joensson at gmail dot com

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