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: Havard Eidnes <he%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, martin%duskware.de@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/53346 (The configure test for use of labels loops on
 powerpc)
Date: Wed, 06 Jun 2018 11:43:31 +0200 (CEST)

 >  The gcc manual says:
 >
 >  "You may not use this mechanism to jump to code in a different funct=
 ion.
 >  If you do that, totally unpredictable things happen.  The best way t=
 o
 >  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 Botc=
 atzu)
 
 Thanks, good to know.  I'll report it to the mercury maintainers.
 
 Regards,
 
 - H=E5vard
 


Home | Main Index | Thread Index | Old Index