pkgsrc-Bugs archive

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

Re: pkg/48784



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

From: Adrian Tulloch <adrian%reyes-tulloch.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48784
Date: Mon, 1 Feb 2016 16:34:30 +1100

 --047d7bd758d23840f3052aaebd40
 Content-Type: text/plain; charset=UTF-8
 
 I know this is an old issue, but I am hoping that this could be
 reconsidered.
 
 I have also been tripped up by this, and, like Frank, think that removing
 optimization flags for release builds goes against the expectations of a
 CMake user.
 
 For what it's worth, at one stage the macports project also removed the
 CMake optimisation flags, then re-instated them because:
 
 The consequence of having a few cmake macports compiling with '-O3' is much
 > less serious than the consequence of every user-installed code marked
 > 'Release' unintentionally being compiled with -O0
 >
 
 For details see https://trac.macports.org/ticket/40648
 
 I know it was a long time ago, but does anyone remember why the cmake
 default optimization flags were removed? Was it because -O3 broke some
 packages that configure themselves using cmake?
 
 Adrian Tulloch
 
 --047d7bd758d23840f3052aaebd40
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">I know this is an old issue, but I am hoping that this cou=
 ld be reconsidered.<div><br></div><div>I have also been tripped up by this,=
  and, like Frank, think that removing optimization flags for release builds=
  goes against the expectations of a CMake user.</div><div><br></div><div>Fo=
 r what it&#39;s worth, at one stage the macports project also removed the C=
 Make optimisation flags, then re-instated them because:</div><div><br></div=
 ><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
 -left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;=
 padding-left:1ex"><span style=3D"color:rgb(0,0,0);font-family:&#39;Lucida G=
 rande&#39;,Verdana,Arial,Helvetica,sans-serif;font-size:13px">The consequen=
 ce of having a few cmake macports compiling with &#39;-O3&#39; is much less=
  serious than the consequence of every user-installed code marked &#39;Rele=
 ase&#39; unintentionally being compiled with -O0</span><br></blockquote><di=
 v><br></div><div>For details see <a href=3D"https://trac.macports.org/ticke=
 t/40648">https://trac.macports.org/ticket/40648</a></div><div><br></div><di=
 v>I know it was a long time ago, but does anyone remember why the cmake def=
 ault optimization flags were removed? Was it because -O3 broke some package=
 s that configure themselves using cmake?</div><div><br></div><div>Adrian Tu=
 lloch</div></div>
 
 --047d7bd758d23840f3052aaebd40--
 


Home | Main Index | Thread Index | Old Index