Opened 6 years ago

Closed 6 years ago

#192 closed task (no change needed)

Poppler 0.59.0 and Lucide

Reported by: Gregg Young Owned by:
Priority: Feedback pending Milestone:
Component: *none Version:
Severity: medium Keywords:
Cc:

Description

Thank you for updating Poppler. Lucide would not build using the library because of changes to the Object code. I fixed Lucide to use the changed code and it built. 2 problem resulted. Lucide trapped with a FPU underflow. I fixed this by disabling FPU exceptions using some code Steven sent me. Note it was not a straight forward process to figure out where to put the code. Also the Poppler upgrade or maybe the libcx/libc upgrades broke DosEnumAttribute? which is not highmem safe. I needed to pass its buffer size on the stack. It all works now. Point of the ticket:

  1. To tell you the port is working
  2. To request that the Mozilla floating point exception handler be added to libcx in the same way exceptq was added.
  3. DosEnumAttribute? should be wrapped and added to os2safe.h (I have more detail of the call sequence if needed).

Change History (2)

comment:1 Changed 6 years ago by Silvan Scherrer

Priority: majorFeedback pending

First poppler is never ABI safe. Only its backends are. So using poppler direct will always lead to issues. But good it works now.
If you think the FPU should go into libcx please open a ticket at out github page for libcx. github.com/bitwiseworks/libcx. Same goes for DosEnumAttribute?. This will need to go to libc I guess.

When you had a chance to do all the above please close this ticket. Thanks

comment:2 Changed 6 years ago by Gregg Young

Resolution: no change needed
Status: newclosed

Thanks

Note: See TracTickets for help on using tickets.