Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
LIEF deps fails to build on PPC64 | GoodFirstPicks

LIEF deps fails to build on PPC64

nodejs/node 3 comments 5d ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeNode.jsJavaScript

Why this is a good first issue

Build fails on PPC64 due to LIEF configuration.

AI Summary

The issue involves a build failure on PPC64 architecture when LIEF is enabled in node.gyp. The problem is reproducible with gcc 12 but not with clang 19. The fix likely requires adjusting build configurations or dependencies for PPC64 compatibility.

Issue Description

Version

25.8.2

Platform

fc45.ppc64le ppc64le GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

Standard build

How often does it reproduce? Is there a required condition?

Always when default setup in node.gyp if LIEF settings remain set:

[ 'node_use_lief=="true" and node_shared_lief=="false"', {
          'defines': [ 'HAVE_LIEF=1' ],
          'dependencies': [ 'deps/LIEF/lief.gyp:liblief' ],
}],
[ 'node_use_lief=="true" and node_shared_lief=="true"', {
          'defines': [ 'HAVE_LIEF=1' ],
}],

What is the expected behavior? Why is that the expected behavior?

Build succeeds.

What do you see instead?

`[2872/3398] g++ -MMD -MF obj/deps/LIEF/src/PE/liblief.utils.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -D_FILE_OFFSET_BITS=64 -DNODE_OPENSSL_CONF_NAME=openssl_conf -DNODE_OPENSSL_CERT_STORE -DOPENSSL_FIPS -DICU_NO_USER_DATA_OVERRIDE -D__STDC_FORMAT_MACROS -DLIEF_STATIC '-DtestttttMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"' -DMBEDTLS_NO_PLATFORM_ENTROPY -DSPDLOG_DISABLE_DEFAULT_LOGGER -DSPDLOG_NO_EXCEPTIONS '-DSPDLOG_FUNCTION=""' -DNDEBUG -I../../deps/LIEF -I../../deps/LIEF/include -I../../deps/LIEF/src -I../../deps/LIEF/third-party/mbedtls/include -I../../deps/LIEF/third-party/mbedtls/library -I../../deps/LIEF/third-party/spdlog/include -I../../deps/LIEF/third-party/frozen/include -I../../deps/LIEF/include/LIEF/third-party -I../../deps/LIEF/include/LIEF/third-party/internal -pthread -Wall -Wextra -Wno-unused-parameter -fPIC -fPIC -m64 -mminimal-toc -O3 -flto=4 -fuse-linker-plugin -ffat-lto-objects -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g1 -D_LARGEFILE_SOURCE -D

GitHub Labels

ppc

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • platform-specific
  • build system
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno