pkgsrc-Bugs archive

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

Re: pkg/53346 (The configure test for use of labels loops on powerpc)



The following reply was made to PR pkg/53346; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53346 (The configure test for use of labels loops on powerpc)
Date: Wed, 6 Jun 2018 11:09:39 +0200

 The gcc manual says:
 
 "You may not use this mechanism to jump to code in a different function.
 If you do that, totally unpredictable things happen.  The best way to
 avoid this is to store the label address only in automatic variables and
 never pass it as an argument."
 
 
 So the configure test is completely broken (pointed out by Eric Botcatzu)
 
 Martin
 


Home | Main Index | Thread Index | Old Index