[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #21 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:83979240c072599bc8595a9324c3f4371eedbc7c commit r13-5426-g83979240c072599bc8595a9324c3f4371eedbc7c Author: Iain Sandoe Date:

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #19 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:80cf2c5e8f496bed9c6facf55f9ae31d0d90fd28 commit r13-5373-g80cf2c5e8f496bed9c6facf55f9ae31d0d90fd28 Author: Iain Sandoe Date:

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #17 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:47b269caf87904fd0112e8c9e96884dd0313ed15 commit r13-5308-g47b269caf87904fd0112e8c9e96884dd0313ed15 Author: Iain Sandoe Date:

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added Attachment #54261|0 |1 is obsolete|

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #15 from Iain Sandoe --- (In reply to Iain Sandoe from comment #14) > Created attachment 54261 [details] > Updated patch that honours the order of include use. > > This is V5 ... > > ... so here we collect the incoming search

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added Attachment #54220|0 |1 is obsolete|

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #13 from Iain Sandoe --- Created attachment 54248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54248=edit Revised fix This essentially makes Modula-2 build its include paths in the Front End (which is how all the other

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-10 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #12 from Iain Sandoe --- unfortunately, neither this nor the v4.1 (WIP) is still quite right. Using LIBDIR in the computation of the include paths means that the compiler does not work when it is relocated .. the directory prefix

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-09 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added Attachment #54184|0 |1 is obsolete|

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #10 from Gaius Mulley --- here is version 4 of the bugfix which enables the driver to link against shared libraries.

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #9 from Gaius Mulley --- Created attachment 54214 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54214=edit Potential fix for target multilib_dir handling -m and -f (version 3) version3 work in progress, implemented using

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #8 from Gaius Mulley --- Created attachment 54208 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54208=edit Potential fix for target multilib_dir handling -m and -f (version 2) Cleaned up and revised patch (no skip on -m).

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #7 from Gaius Mulley --- About to post - I've cleaned up the patch and modified it not to skip the -m option. It is fine on x86_64 gnu/linux - it would be great to know I've not broken anything on Darwin :-)

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > (In reply to Gaius Mulley from comment #4) > > Created attachment 54184 [details] > > Potential fix for target multilib_dir handling -m and -f. > > > > Work in

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #5 from Iain Sandoe --- (In reply to Gaius Mulley from comment #4) > Created attachment 54184 [details] > Potential fix for target multilib_dir handling -m and -f. > > Work in progress. 1. (I think) the string you need is

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #4 from Gaius Mulley --- Created attachment 54184 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54184=edit Potential fix for target multilib_dir handling -m and -f. Work in progress.

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #3 from Gaius Mulley --- I believe I have a fix for the target options. I've built gm2 as a cross compiler for the avr series of microprocessors with the fix and now get a cc1gm2 ICE (after the correct arguments are presented to

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #2 from Iain Sandoe --- computing the multilib_os_dir in the language driver is not going to be easy/reliably correct, since that code is called very early and the specs applied later could well modify the command line options. On

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #1 from Andrew Pinski --- Even some -f options are mutlilib'ed. Eg.: cr16/t-cr16:MULTILIB_OPTIONS = fPIC mint32 And MIPS does EL/EB: mips/t-img-linux:MULTILIB_OPTIONS = mips64r6 mabi=64 EL So this is definitely a bad

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2022-12-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added CC||gaius at gcc dot gnu.org