Summary: | c++ symbolic functions broken on arm | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Sylvain Garrigues <sylvain> | ||||||||
Component: | arm | Assignee: | freebsd-arm (Nobody) <freebsd-arm> | ||||||||
Status: | New --- | ||||||||||
Severity: | Affects Only Me | CC: | dim, emaste, sylvain, toolchain | ||||||||
Priority: | --- | ||||||||||
Version: | CURRENT | ||||||||||
Hardware: | arm | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
Sylvain Garrigues
2016-05-10 06:40:45 UTC
Created attachment 170168 [details]
shared.cpp
Created attachment 170169 [details]
shared.h
The bug is not reproducible on x86-64 (output is always true). The bug is not reproducible on ARM if I use the gold linker (adding -fuse-ld=gold to the 2 compiler command lines) # /usr/local/bin/ld -v GNU ld (GNU Binutils) 2.25.1 # /usr/bin/ld -v GNU ld 2.17.50 [FreeBSD] 2007-07-03 # uname -a FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #74 40afb9f(master)-dirty: Wed Apr 27 15:16:05 CEST 2016 root@cladbsd:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm |