Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cowpatch bug: gcc 5.3.0 powerpc build fails at unpatched rs6000/sysv4.h #194

Open
rofl0r opened this issue Dec 3, 2024 · 0 comments
Open

Comments

@rofl0r
Copy link
Contributor

rofl0r commented Dec 3, 2024

the build errors out at

../../src_gcc/libcc1/../gcc/config/rs6000/sysv4.h:767:2: error: #error "Unsupported DEFAULT_LIBC"
  767 | #error "Unsupported DEFAULT_LIBC"
      |  ^~~~~

which points to gcc.orig dir, but it should point to the patched version where the line number is different, done through 0001-musl.diff

following config.mak can be used to reproduce:

TARGET= powerpc-linux-musl
 OUTPUT = /opt/cross
GCC_VER = 5.3.0
 COMMON_CONFIG += --disable-nls
 GCC_CONFIG += --disable-libquadmath --disable-decimal-float
 GCC_CONFIG += --disable-libitm
 GCC_CONFIG += --disable-fixed-point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant