#499: Build failure on OpenBSD 4.5-beta
---------------------+------------------------------------------------------
 Reporter:  darbelo  |        Type:  patch  
   Status:  new      |    Priority:  major  
Milestone:           |   Component:  core   
  Version:  trunk    |    Severity:  high   
 Keywords:  OpenBSD  |        Lang:         
    Patch:           |    Platform:  openbsd
---------------------+------------------------------------------------------

Comment(by darbelo):

 Replying to [comment:3 jkeenan]:
 > Replying to [ticket:499 darbelo]:
 > > As of 4.5-beta, OpenBSD's libm now has IEEE behabiour by default on
 atan2(), an no longer #defines _IEEE_, which causes an error building
 config/gen/platform/openbsd/math.c,
 >
 >
 > Could you post the build error you got?
 Sure:

 config/gen/platform/openbsd/math.c:30: error: syntax error before
 "_LIB_VERSION"
 config/gen/platform/openbsd/math.c:30: warning: type defaults to `int' in
 declaration of `_LIB_VERSION'
 config/gen/platform/openbsd/math.c:30: error: `_IEEE_' undeclared here
 (not in a function)
 config/gen/platform/openbsd/math.c:30: warning: data definition has no
 type or storage class
 *** Error code 1

 Stop in /home/darbelo/parrot/trunk (line 92 of /usr/share/mk/sys.mk).


 This looks to be related to the libm rework that happened after the
 release of OpenBSD 4.4 (4.5 will be released in may)
 Just to be clear: Parrot is not at fault here, it is the OS that changed
 the way it did things.

 --
 darbelo

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/499#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to