This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/3412: -mcoff in CRTSTUFF_T_CFLAGS_S
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/3412: -mcoff in CRTSTUFF_T_CFLAGS_S
- From: "Golubev I. N." <gin at mo dot msk dot ru>
- Date: Mon, 25 Jun 2001 18:27:56 (GMT)
>Number: 3412
>Category: bootstrap
>Synopsis: -mcoff in CRTSTUFF_T_CFLAGS_S
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 25 11:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.0
>Organization:
>Environment:
System: SCO_SV d-fens 3.2 2 i386
/usr/bin/gas is one from binutils-2.11.
host: i586-pc-sco3.2v5.0.2
build: i586-pc-sco3.2v5.0.2
target: i586-pc-sco3.2v5.0.2
configured with: ../gcc-3.0/configure --without-included-gettext --prefix=/usr --with-gnu-as=/usr/bin/gas --enable-multilib --disable-static --enable-shared --with-system-zlib --program-transform-name=s/cpp/gcpp/ : (reconfigured) ../gcc-3.0/configure --without-included-gettext --prefix=/usr --with-gnu-as=/usr/bin/gas --enable-multilib --disable-static --enable-shared --with-system-zlib --program-transform-name=s/cpp/gcpp/ : (reconfigured) ../gcc-3.0/configure --without-included-gettext --prefix=/usr --with-gnu-as=/usr/bin/gas --enable-multilib --disable-static --enable-shared --with-system-zlib --program-transform-name=s/cpp/gcpp/ : (reconfigured) ../gcc-3.0/configure --without-included-gettext --prefix=/usr --with-gnu-as=/usr/bin/gas --enable-multilib --disable-static --enable-shared --with-system-zlib --program-transform-name=s/cpp/gcpp/ : (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/ : (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/ : (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/ : (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:
`gcc' program always prints
cc1: Invalid option `coff'
when given `-mcoff' option. Since `-mcoff' is in
`CRTSTUFF_T_CFLAGS_S' var in `t-sco5gas', `crt{begin,end}S.o' always
fail to build.
Strangely, `CRTSTUFF_T_CFLAGS_S' value, which is used for `versions of
crtbegin and crtend for shared libraries', contains `-mcoff', which is
never used for shared libraries, and does not contain `-fpic', which
one is likely to expect there.
>How-To-Repeat:
./xgcc -mcoff smth
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: