[Bug driver/115698] @file invalidates -B in g++ command line

2024-06-29 Thread yhdang at stu dot xjtu.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698 --- Comment #6 from Yihan Dang --- (In reply to Andrew Pinski from comment #5) > Filed https://github.com/libhugetlbfs/libhugetlbfs/issues/88 for the > libhugetlbfs issue. Thank you very much for the help! I have submitted a pull request to thi

[Bug driver/115698] @file invalidates -B in g++ command line

2024-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/libhuget

[Bug driver/115698] @file invalidates -B in g++ command line

2024-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug driver/115698] @file invalidates -B in g++ command line

2024-06-29 Thread yhdang at stu dot xjtu.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698 --- Comment #3 from Yihan Dang --- Hello Andrew, thank you very much for your reply! I think I've found the catch: Change the custom ld script to this: ``` #!/bin/bash echo "hello from custom ld, arguments are: $*" filename=$1 filename=${filen

[Bug driver/115698] @file invalidates -B in g++ command line

2024-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-06-28 Ever confirmed|0

[Bug driver/115698] @file invalidates -B in g++ command line

2024-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115698 --- Comment #1 from Andrew Pinski --- So I looked into the driver code and '@' handling is early on and just expands into the new arguments.