unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20338: configure test for nopie with gcc 4.4.3 on Trisquel 4.1
@ 2015-04-15 19:13 Glenn Morris
  2015-04-15 19:42 ` Glenn Morris
  2015-04-16  7:18 ` Paul Eggert
  0 siblings, 2 replies; 3+ messages in thread
From: Glenn Morris @ 2015-04-15 19:13 UTC (permalink / raw)
  To: 20338

Package: emacs
Version: 25.0.50

On fencepost.gnu.org, I noticed the following oddity in config.log:

    configure:30326: checking whether gcc -std=gnu99 accepts -nopie
    configure:30346: gcc -std=gnu99 -o conftest -g3 -O2 -Werror -nopie conftest.c   >&5 
    gcc: unrecognized option '-nopie'
    configure:30346: $? = 0
    configure:30356: result: yes

cat /etc/issue
Trisquel GNU/Linux 4.1 \n \l

gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3

cat test.c
int main ()
 {
   return 0;
 }

gcc -std=gnu99 -o conftest -g3 -O2 -Werror -nopie test.c
gcc: unrecognized option '-nopie'

echo $?
0


Seems odd. Whereas:

gcc -std=gnu99 -o conftest -g3 -O2 -Werror  -foobar test.c
cc1: error: unrecognized command line option "-foobar"

echo $?
1





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

end of thread, other threads:[~2015-04-16  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 19:13 bug#20338: configure test for nopie with gcc 4.4.3 on Trisquel 4.1 Glenn Morris
2015-04-15 19:42 ` Glenn Morris
2015-04-16  7:18 ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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