Comments (19)
@Logarithmus Are you ready for 0.9.2?
from mold.
Sure. I need to build Gentoo packages to make sure that there's no regression. Please allow me a day or two.
from mold.
I created a new branch for 0.9.2 and cherrypick only changes that matters to you. Could you confirm that the following branch contains all changes that you need? If it looks OK, I'll tag it as v0.9.2.
https://github.com/rui314/mold/commits/release/0.9.2
from mold.
@rui314 yesterday I've discovered that multiple tests fail (about 10). So today I'd like to take a record of specific tests which fail and 'll create a PR trying to fix those tests. The package can't be accepted with failing tests.
So please don't create a tag yet.
from mold.
Got it. For me all tests pass and so do on GitHub Actions, so I wonder what these tests are.
from mold.
An issue to track failing tests: #67
from mold.
I created a new branch for 0.9.2 and cherrypick only changes that matters to you. Could you confirm that the following branch contains all changes that you need? If it looks OK, I'll tag it as v0.9.2.
Please, include test fixes for Void into mold/0.9.2
and tag it.
from mold.
@rui314 UPD 3 tests still fail on my machine, namely:
copyrel-protected
ifunc-dso
run
I'd like to investigate them before you make a release.
from mold.
I updated https://github.com/rui314/mold/tree/release/0.9.2 branch.
Could you run each test command with bash -x
and share its output?
from mold.
~/Programming/C++/mold fix-tests-again !5 ?1 ❯ bash -x fails/copyrel-protected.sh
+ set -e
++ dirname fails/copyrel-protected.sh
+ cd fails
++ basename -s .sh fails/copyrel-protected.sh
+ echo -n 'Testing copyrel-protected ... '
Testing copyrel-protected ... ++ pwd
++ basename -s .sh fails/copyrel-protected.sh
+ t=/home/artur/Programming/C++/mold/fails/tmp/copyrel-protected
+ mkdir -p /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected
+ cat
+ cc -o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/a.o -c -xc -fno-PIE -
+ cat
+ cc -shared -o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/b.so -xc -
++ pwd
+ clang -fuse-ld=/home/artur/Programming/C++/mold/fails/../mold /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/a.o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/b.so -o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/exe
+ false
The resulting executable in ifunc-dso
outputs nothing instead of Hello world
.
~/Programming/C++/mold fix-tests-again !5 ?1 ❯ bash -x fails/ifunc-dso.sh
+ set -e
++ dirname fails/ifunc-dso.sh
+ cd fails
++ basename -s .sh fails/ifunc-dso.sh
+ echo -n 'Testing ifunc-dso ... '
Testing ifunc-dso ... ++ pwd
++ basename -s .sh fails/ifunc-dso.sh
+ t=/home/artur/Programming/C++/mold/fails/tmp/ifunc-dso
+ mkdir -p /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso
+ cat
+ cc -o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/a.o -c -x assembler -
+ cat
+ cc -shared -fPIC -o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/b.so -x assembler -
++ pwd
+ clang -fuse-ld=/home/artur/Programming/C++/mold/fails/../mold -o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/exe /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/a.o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/b.so
+ /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/exe
+ grep -q 'Hello world'
This can be caused by my /usr/bin/ld
being a symlink to /usr/bin/mold
UPD confirmed that passing -fuse-ld=bfd
to gcc
& clang
in this test fixes it.
~/Programming/C++/mold fix-tests-again !5 ?1 ❯ bash -x fails/run.sh
+ set -e
++ dirname fails/run.sh
+ cd fails
++ basename -s .sh fails/run.sh
+ echo -n 'Testing run ... '
Testing run ... ++ pwd
++ basename -s .sh fails/run.sh
+ t=/home/artur/Programming/C++/mold/fails/tmp/run
+ mkdir -p /home/artur/Programming/C++/mold/fails/tmp/run
+ cat
+ cc -xc -c -o /home/artur/Programming/C++/mold/fails/tmp/run/a.o -
+ gcc -o /home/artur/Programming/C++/mold/fails/tmp/run/exe /home/artur/Programming/C++/mold/fails/tmp/run/a.o
+ readelf -p .comment /home/artur/Programming/C++/mold/fails/tmp/run/exe
+ grep -q mold /home/artur/Programming/C++/mold/fails/tmp/run/log
+ false
from mold.
@Logarithmus Do you mind if I ask you to create a patch to fix issues you found? I can make a change myself but can't confirm that my change would fix the issue.
from mold.
@rui314, yeah, I'm currently working on it. I've installed Debian 11 inside lxd
container. The idea is to compare generated binaries/logs between my system & the container.
from mold.
See #67 for follow-up on tests.
from mold.
I cherrypicked bugfixes to https://github.com/rui314/mold/tree/release/0.9.2. Can you double-check that all tests pass now? If everything is fine, I'll tag it as v0.9.2.
from mold.
@rui314 I'm checking right now
from mold.
@rui314 2 small fixes needed:
- #87
- Bump version in
Makefile
(it's still0.9.1
there).
from mold.
@Logarithmus Thank you very much for testing! I cherry picked your change and bumped up the version number to 0.9.2. I'm tagging v0.9.2.
from mold.
0.9.2 has been tagged.
from mold.
Thank you.
from mold.
Related Issues (20)
- dist.sh fails with "Temporary failure resolving 'archive.ubuntu.com'" HOT 3
- Publish SHA256 checksums in releases HOT 6
- Option to append `PT_LOAD` segments to ELFs HOT 12
- Some errors emit when i wanta change the ld of gcc-linaro-6.5.0-2018.12-x86_64_aarch64-linux-gnu to mold HOT 2
- Error emit when I change the ld of gcc-linaro-6.5.0-2018.12-x86_64_aarch64-linux-gnu to mold HOT 2
- mprotect ENOMEM error when loading binary HOT 8
- Unable to build with `clang` on Android Termux HOT 2
- x86_64-run failure HOT 2
- Question: shall I use sold/mold in performance-sensitive production environment? HOT 4
- mold-linked binaries occasionally emit SEGV during dynamic linker initialization HOT 17
- Qt 6 symbol mismatch HOT 13
- Bad symbol name in the `error: undefined symbol` error message HOT 3
- [Rust] double compilation
- Various tests skipped due to system usage of `HOST` env. variable HOT 6
- do applications with LLVM's polly flag and thilto, and linked with mold still segfault? HOT 14
- Fails to link on alpha: relocation truncated to fit: GPREL16 HOT 4
- mold wrapper issue when building in an armv7l container on a arm64/armv7l host using mold 2.4.0 HOT 5
- `--trace-symbol` flag affects `.symver` HOT 2
- Issues with `.symver` and symbol interpositioning HOT 6
- Is macos supported HOT 3
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.