public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/3460: broken libgcc2 -fPIC
@ 2001-06-28  7:06 Golubev I. N.
  0 siblings, 0 replies; 2+ messages in thread
From: Golubev I. N. @ 2001-06-28  7:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3460
>Category:       bootstrap
>Synopsis:       broken libgcc2 -fPIC
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 28 07:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Golubev I. N.
>Release:        3.0
>Organization:
>Environment:
System: SCO_SV d-fens 3.2 2 i386


	
host: i586-pc-sco3.2v5.0.2
build: i586-pc-sco3.2v5.0.2
target: i586-pc-sco3.2v5.0.2
configured with:  : (reconfigured)  : (reconfigured) ../gcc-3.0/configure --without-included-gettext --prefix=/usr --with-as=/usr/bin/gas --enable-multilib --disable-static --enable-shared --with-system-zlib --program-transform-name=s/cpp/gcpp/
>Description:

	1) Settings of `MULTILIB_*' in `t-sco5gas' (version as in
< http://gcc.gnu.org/cgi-bin/cvsweb.cgi/~checkout~/gcc/gcc/config/i386/t-sco5gas?rev=1.3&content-type=text/plain >)
affect nothing.  In particular, they do not cause
`stmp-multilib' make procedure to put `-fPIC' in ${LIBGCC2_CFLAGS}.
This explains why what is described below was never hit.

2) gcc generates incorrect asm code when compiling `unwind-dw2.c' for
target `libgcc2.a' with ${TARGET_LIBGCC2_CFLAGS} containing `-fPIC' as
in `t-sco5'.  It causes `gas' from binutils-2.11 to complain:

1.s:2948: Error: Rest of line ignored. First ignored character is `@'.

for gcc output:

	.long	.LFB1@GOTOFF

Configuring gcc with native as has even less chances to work.  It
generated inacceptable code at least in 2.95.2, and I always configure
it with gnu as since then.

>How-To-Repeat:

	make bootstrap

>Fix:
	

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: bootstrap/3460: broken libgcc2 -fPIC
@ 2001-07-05 13:29 rth
  0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2001-07-05 13:29 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gin, nobody

Synopsis: broken libgcc2 -fPIC

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Thu Jul  5 13:29:07 2001
State-Changed-Why:
    Fixed in binutils 2.11.2.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3460&database=gcc


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

end of thread, other threads:[~2001-07-05 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28  7:06 bootstrap/3460: broken libgcc2 -fPIC Golubev I. N.
2001-07-05 13:29 rth

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