bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash on Tru64


From: Jay K
Subject: Re: bash on Tru64
Date: Wed, 30 Jun 2021 19:34:49 +0000

> Did the same thing happen when linking builtins/mkbuiltins?

Yes.

> make
rm -f mksyntax
cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"alphaev67"' -DCONF_OSTYPE='"osf5.1b"' 
-DCONF_MACHTYPE='"alphaev67-dec-osf5.1b"' -DCONF_VENDOR='"dec"' 
-DLOCALEDIR='"/usr/users/jay/share/locale"' -DPACKAGE='"bash"' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -I./lib/intl 
-I/usr/users/jay/s/bash-5.1.8/lib/intl  -g -Wno-parentheses 
-Wno-format-security    -g -Wno-parentheses -Wno-format-security    -g 
-Wno-parentheses -Wno-format-security  -o mksyntax ./mksyntax.c
ld:
Invalid flag usage: Wno-parentheses, -Wx,-option must appear after 
-_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]


> cd builtins
> make
...
rm -f mkbuiltins.o
cc -c  -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I.. -I../include -I../lib -I. 
-I../lib/intl -I/usr/users/jay/s/bash-5.1.8/lib/intl   -g -Wno-parentheses 
-Wno-format-security  mkbuiltins.c
cc  -g -Wno-parentheses -Wno-format-security  -g -Wno-parentheses 
-Wno-format-security  -o mkbuiltins mkbuiltins.o
ld:
Invalid flag usage: Wno-parentheses, -Wx,-option must appear after 
-_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]
make: *** [Makefile:223: mkbuiltins] Error 1

> cd support/
> make
rm -f man2html.o
cc -c  -DHAVE_CONFIG_H -DSHELL  -I/usr/users/jay/s/bash-5.1.8 -I..   -g 
-Wno-parentheses -Wno-format-security man2html.c
cc  -DHAVE_CONFIG_H -DSHELL  -I/usr/users/jay/s/bash-5.1.8 -I..   -g 
-Wno-parentheses -Wno-format-security man2html.o -o man2html
ld:
Invalid flag usage: Wno-parentheses, -Wx,-option must appear after 
-_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]
make: *** [Makefile:80: man2html] Error 1


Thank you,
 - Jay


From: Chet Ramey <chet.ramey@case.edu>
Sent: Wednesday, June 30, 2021 5:33 PM
To: Jay K <jayk123@hotmail.com>; bug-bash@gnu.org <bug-bash@gnu.org>
Cc: chet.ramey@case.edu <chet.ramey@case.edu>; Larkin Nickle <me@larbob.org>
Subject: Re: bash on Tru64 
 
On 6/29/21 4:38 PM, Jay K wrote:

> rm -f man2html.o
> cc -c  -DHAVE_CONFIG_H -DSHELL  -I/usr/users/jay/s/bash-5.1.8 -I..   -g 
> -Wno-parentheses -Wno-format-security man2html.c
> cc  -DHAVE_CONFIG_H -DSHELL  -I/usr/users/jay/s/bash-5.1.8 -I..   -g 
> -Wno-parentheses -Wno-format-security man2html.o -o man2html
> ld:
> Invalid flag usage: Wno-parentheses, -Wx,-option must appear after 
> -_SYSTYPE_SVR4
> ld: Usage: ld [options] file [...]
> make[1]: *** [Makefile:80: man2html] Error 1
> make[1]: Leaving di
> 
> I think the flags are ok on the compiler, ignored, but error on the linker.
> They should be autoconfed? Eh, they probably are, but then compiler is linker.
> Remove them for linking?

Did the same thing happen when linking builtins/mkbuiltins?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftiswww.cwru.edu%2F~chet%2F&amp;data=04%7C01%7C%7C2e6188cdbca9418c9e9508d93bed3e46%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637606712398988868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Db%2Ff5QTvH5%2Br8au7%2Ftt%2F%2B2Hsx2tfMqVMC6cjzR3Qd1Y%3D&amp;reserved=0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]