Comments (2)
How do I reproduce the failure? I tried with alpine:edge docker image with --platform riscv64
, but the test didn't fail.
from mold.
I tried to reproduce on my end with podman and --arch riscv64
and I get a riscv64-section-order
crashes consistantly with both master and v2.31.0
. riscv64-shared-abs-sym
didnt fail as well.
215/339 Test #215: riscv64-section-order .......................***Failed 0.69 sec
++ dirname /tmp/mold/test/elf/section-order.sh
+ . /tmp/mold/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++ '[' -z riscv64 ']'
++ '[' -z '' ']'
++ TESTDIR=out/test/elf/riscv64
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ '[' riscv64 = x86_64 -o riscv64 = i686 -o riscv64 = arm ']'
++ '[' riscv64 = aarch64 ']'
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /tmp/mold/test/elf/section-order.sh .sh
++ testname=section-order
++ echo -n 'Testing section-order ... '
Testing section-order ... ++ t=out/test/elf/riscv64/section-order
++ mkdir -p out/test/elf/riscv64/section-order
+ on_qemu
+ '[' '' '!=' '' ']'
+ grep -qw qemu /proc/cpuinfo
+ cat
+ cc -o out/test/elf/riscv64/section-order/a.o -c -xc -fno-PIC -
+ cc -B. -o out/test/elf/riscv64/section-order/exe1 out/test/elf/riscv64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA'
+ out/test/elf/riscv64/section-order/exe1
+ grep -q Hello
++ on_error 20
++ code=1
++ echo 'command failed: 20: grep -q Hello'
command failed: 20: grep -q Hello
++ trap - EXIT
++ exit 1
The alpine riscv64 runs on real hardware (scaleway and milkv pioneer),
from mold.
Related Issues (20)
- Building with pyo3 and maturin works with default linker, but not with mold HOT 1
- XWayland segfaults when linked with mold HOT 3
- tool-x
- make install does not install libblake3.so HOT 1
- Compiling from source on CPU without AVX2 fails HOT 2
- .rodata wrong with rust HOT 26
- not able to compile in windows . HOT 3
- -lc not working HOT 3
- --wrap support for MacOS HOT 3
- x86_64-exception-multiple-ehframe fails with GCC 14 HOT 10
- [Question] Is `mold` any compatible at all with wine-tkg (and anything Wine related) to build? HOT 2
- Binaries linked with mold-2.30.0 randomly either work or crash in `_dl_relocate_object` HOT 4
- Fold sold back into mold? HOT 1
- arm-arm_abs-error failed: sorry, unimplemented: Thumb-1 'hard-float' VFP ABI HOT 3
- `mold 2.31.0` build failure when targeting `ARMv6` HOT 3
- retain, used and perhaps wildcard-matching using retain-symbols-file HOT 13
- Missing -z option rodynamic HOT 1
- Statically linked binaries crash with illegal hardware instructions HOT 7
- Cannot build project using tealr and Mold linker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mold.