GNU bug report logs -
#20338
configure test for nopie with gcc 4.4.3 on Trisquel 4.1
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Wed, 15 Apr 2015 19:14:02 UTC
Severity: normal
Found in version 25.0.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 10 years and 34 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.