[omniORB] Incorrect processor define on Apple M1

Duncan Grisby duncan at grisby.org
Sun Apr 16 14:41:33 UTC 2023


On Sat, 2023-04-15 at 16:40 +0200, Thomas Braun via omniORB-list wrote:

[...]
> > Or is it that the definition of __arm__ somehow breaks some other
> > code
> > that is not in omniORB?
> 
> Yes this is the problem. PROCESSOR_DEFINE is used in 
> contrib/pkgconfig/omnithread.pc.in and include/omniconfig.h.in.

That makes sense.

The processor and platform defines are a legacy thing from long ago
where some of the target platforms did not define them automatically. I
think all the current platforms omniORB is used on probably do set the
necessary defines.

I have changed things in svn so that

   1. the .pc files no longer set them.
   2. omniconfig.h only sets processor and platform defines if nothing
      is already set.

That should resolve this situation. Can you try it please?

Duncan.

-- 
-- Duncan Grisby -- -- duncan at grisby.org -- -- http://www.grisby.org --



More information about the omniORB-list mailing list