Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 674
    • Issues 674
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 160
    • Merge Requests 160
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #10546

Closed
Open
Opened Jun 08, 2019 by Aleksey M@Aleksey

syslinux hdt.c32 (Hardware Detection Tool) is broken since AlpineLinux v3.9

hdt.c32 (part of syslinux package) fails with following diagnostics:

Undef symbol FAIL: exp
Failed to load libgpl.c32
Failed to load COM32 file hdt.c32

This is known issue with gcc8, Debian patch exists.
Seems like it’s still not fixed upstream.
AlpineLinux prior to v3.9 is unaffected AFAIK.

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918915
Debian patch: https://sources.debian.org/patches/syslinux/3:6.04~git20190206.bf6db5b4+dfsg1-1/0018-prevent-pow-optimization.patch/
ArchLinux bug: https://bugs.archlinux.org/task/59987

(from redmine: issue id 10546, created on 2019-06-08, closed on 2019-06-19)

  • Changesets:
    • Revision 0ab839af by Daniel Isaksen on 2019-06-10T09:21:58Z:
main/syslinux: Apply Debian's patch to fix HDT.

With the current GCC 8.2.0 from Debian, a section of code calling pow() in
zzjson_parse.c is turned into a sequence calling exp(). Since no exp()
implementation is available in syslinux those optimizations need to be
disabled.

Closes #10546
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#10546