From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Golubev I. N." To: gcc-gnats@gcc.gnu.org Subject: bootstrap/3412: -mcoff in CRTSTUFF_T_CFLAGS_S Date: Mon, 25 Jun 2001 11:36:00 -0000 Message-id: <02473b3782ab74-gin@mo.msk.ru> X-SW-Source: 2001-06/msg01052.html List-Id: >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: