[m-users.] "posix" extra library won't compile

Volker Wysk post at volker-wysk.de
Sat Mar 16 03:13:22 AEDT 2019


Am Freitag, 15. März 2019, 06:29:31 CET schrieb Julien Fischer:
> On Fri, 15 Mar 2019, Julien Fischer wrote:
> > On Fri, 15 Mar 2019, Volker Wysk wrote:
> >>  Am Donnerstag, 14. März 2019, 20:12:30 CET schrieb Volker Wysk:
> >>>  Am Donnerstag, 14. März 2019, 19:31:42 CET schrieb Zoltan Somogyi:
> >>> >  On Thu, 14 Mar 2019 19:25:29 +0100, Volker Wysk <post at volker-wysk.de>
> >>  
> >>  wrote:
> >>> > > >  Exactly what command is giving you the above error? Give us all
> >>> > > >  the
> >>> > > >  details.>
> >>> > >  
> >>> > >  I've downloaded and installed a Mercury rodt just fine. The Mercury
> >>> > >  source
> >>> > >  code (including extras/) is in /usr/local/src/mercury-srcdist-
> >>> > >  rotd-2019-01-03/. Inside of that is the "extras/posix" directory.
> >>> > >  
> >>> > >  All I've done is "mmc --make libposix" inside that directory. Just
> >>> > >  like
> >>> > >  I've found it in the Mercury User's Guide, section 6.2.1.
> >>> >  
> >>> >  For me, that exact same command works just fine.
> >>>  
> >>>  I've downloaded the latest r.o.d.t. and am compiling Mercury now. So I
> >>>  can
> >>>  find out if I can reproduce that you can't reproduce the problem. :-)
> >>>  
> >>>  This will take another two-and-a-half hours.
> >>  
> >>  I've installed the new mercury version, but the problem still occurs.
> > 
> > The ROTDs haven't updated yet.  The second issue you are encountering
> > appears to be due to changes to glibc.
> 
> Actually, not glibc, the explanation is about half way down:
> 
> https://wiki.ubuntu.com/ToolChain/CompilerFlags?action=show&redirect=Compile
> rFlags#-D_FORTIFY_SOURCE=2
> 
> It seems Ubuntu have started making the C compile with
> -D_FORTIFY_SOURCE=2 by default and that will reject calls to open()
> without a mode argument.

So will it be fixed?

Volker




More information about the users mailing list