emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#20338: closed (configure test for nopie with gcc 4


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20338: closed (configure test for nopie with gcc 4.4.3 on Trisquel 4.1)
Date: Thu, 16 Apr 2015 07:20:04 +0000

Your message dated Thu, 16 Apr 2015 00:18:57 -0700
with message-id <address@hidden>
and subject line Re: configure test for nopie with gcc 4.4.3 on Trisquel 4.1
has caused the debbugs.gnu.org bug report #20338,
regarding configure test for nopie with gcc 4.4.3 on Trisquel 4.1
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20338: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20338
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: configure test for nopie with gcc 4.4.3 on Trisquel 4.1 Date: Wed, 15 Apr 2015 15:13:04 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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



--- End Message ---
--- Begin Message --- Subject: Re: configure test for nopie with gcc 4.4.3 on Trisquel 4.1 Date: Thu, 16 Apr 2015 00:18:57 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 Thanks for reporting that. In master commit c6e93df20266fe9f8517f14f3b7c367281f988a5 I installed the attached patch, which fixed the bug for me.

Attachment: 0001-Pre-4.6-GCC-succeeds-with-unknown-option.patch
Description: Text Data


--- End Message ---

reply via email to

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