[Bug ld/30855] Relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-15 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30855 --- Comment #5 from AK --- Just to keep track: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111420 i created before moving the ticked here. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30855] Relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-15 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30855 --- Comment #4 from AK --- The release build (-O3) built successfully. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30855] Relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-14 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30855 --- Comment #3 from AK --- To repro On a riscv64 machine $ cd llvm-project $ cmake -GNInja ../llvm -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD=RISCV -DLLVM_ENABLE_PROJECTS=clang $ ninja clang -- You are receivin

[Bug ld/30855] Relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-14 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30855 --- Comment #2 from hiraditya --- I got this error while building clang (ninja clang) on a riscv machine. root@lpi4a:~# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-linux-gnu/13/lto-wrapper Target:

[Bug ld/30855] Relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-14 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30855 hiraditya changed: What|Removed |Added Target||riscv64 Host|

[Bug ld/30855] Relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-14 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30855 hiraditya changed: What|Removed |Added Summary|Bug 111420 - relocation |Relocation truncated to

[Bug ld/30855] New: Bug 111420 - relocation truncated to fit: R_RISCV_JAL against `.L12287'

2023-09-14 Thread hiraditya at msn dot com
IRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hiraditya at msn dot com Target Milestone: --- -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30091] New: Bundle all artifacts and command line invocation to quickly reproduce linker errors

2023-02-06 Thread hiraditya at msn dot com
Severity: enhancement Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hiraditya at msn dot com Target Milestone: --- The lld linker has a flag `--reproduce -= path` that bundles all the artifacts along with a

[Bug ld/28399] Flag to order functions in a specific order based on order file

2022-03-30 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28399 --- Comment #4 from hiraditya --- Reference to bsd linker: https://www.freebsd.org/cgi/man.cgi?ld The flag is: ``` --symbol-ordering-file=file Lay out sections in the order specified by file. ``` -- You are receiving this mail

[Bug ld/28399] Flag to order functions in a specific order based on order file

2021-10-05 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28399 --- Comment #3 from hiraditya --- Here is an example of order file that is used to build clang itself. https://opensource.apple.com/source/clang/clang-211.10.1/clang.order.auto.html -- You are receiving this mail because: You are on the CC

[Bug ld/28399] Flag to order functions in a specific order based on order file

2021-10-05 Thread hiraditya at msn dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28399 --- Comment #2 from hiraditya --- > the format of the file it is a text file with line separated (mangled) symbol name. > nor what happens to symbols that are not in the file IIUC symbols that are in the file get preference over all other sym

[Bug ld/28399] New: Flag to order functions in a specific order based on order file

2021-09-30 Thread hiraditya at msn dot com
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hiraditya at msn dot com Target Milestone: --- The BSD linker has this option `--symbol-ordering-file=file ` that lays out functions (and possibly other symbols) in the