Skip to content

Conversation

@joshrwolf
Copy link
Member

another error materializing when building the world:

⚠  aarch64   | + make 'CFLAGS=-O2 -Wall -fomit-frame-pointer -march=armv8-a -mtune=neoverse-n1 -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS \-I/usr/include/lua5.3' 'LDFLAGS=-Wl,--as-needed,-O1,--sort-common -Wl,-z,relro,-z,now,-z,noexecstack,-z,noexecheap \-L/usr/lib/lua5.3 -llua -lm'
ℹ  aarch64   | cc -O2 -Wall -fomit-frame-pointer -march=armv8-a -mtune=neoverse-n1 -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS \-I/usr/include/lua5.3 -O2 -Wall -fomit-frame-pointer -march=armv8-a -mtune=neoverse-n1 -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS  -c -o lzlib.o lzlib.c
ℹ  aarch64   | cc -o zlib.so -shared lzlib.o -L../zlib-1.2.3 -lz -L/home/build/local/lua-5.2/lib -L/home/build/local/lua-5.2/bin
⚠  aarch64   | /usr/lib/gcc/aarch64-unknown-linux-gnu/12.2.0/../../../../aarch64-unknown-linux-gnu/bin/ld: read-only segment has dynamic relocations
⚠  aarch64   | collect2: error: ld returned 1 exit status
⚠  aarch64   | make: *** [Makefile:48: zlib.so] Error 1

adding -fPIC to build pic seems like a suitable solution

@joshrwolf joshrwolf requested a review from a team as a code owner July 6, 2023 19:59
@joshrwolf joshrwolf requested review from ajayk and rawlingsj July 6, 2023 19:59
@dlorenc dlorenc enabled auto-merge July 6, 2023 21:16
@dlorenc dlorenc added this pull request to the merge queue Jul 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 6, 2023
@dlorenc dlorenc added this pull request to the merge queue Jul 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 6, 2023
@dlorenc dlorenc added this pull request to the merge queue Jul 7, 2023
Merged via the queue into wolfi-dev:main with commit 3f53cd6 Jul 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants