[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #15 from Dlang Bot --- @jmdavi

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #14 from Dlang Bot --- dlang/phobos pull request #8914 "Build: Add option USE_IMPORTC=0 to switch back to compiling zlib with C compiler" was merged into master: - c06255411a1a51b51aea24dd88bcf133f00c584e by Martin Kinkelin: Build: Add

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #13 from Dlang Bot --- dlang/dmd pull request #16184 "partial bugzilla 24389 - importC: Parser support for top-level asm definitions" was merged into master: - 78043dabcba037adf9de12b629745415e42609e2 by Iain Buclaw: partial bugzilla 2

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #12 from Dlang Bot --- @kinke created dlang/phobos pull request #8914 "Build: Add option USE_IMPORTC=0 to switch back to compiling zlib with C compiler" mentioning this issue: - Build: Add option USE_IMPORTC=0 to switch back to compiling

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 kinke changed: What|Removed |Added CC||ki...@gmx.net --- Comment #11 from kinke --- I agre

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #10 from Jonathan M Davis --- (In reply to Iain Buclaw from comment #9) > Alternatively, there's reverting the change that introduced using DMD to > build zlib. Yeah, I was talking about what would be required for zlib to build with impo

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #9 from Iain Buclaw --- (In reply to Jonathan M Davis from comment #8) > It doesn't look like qsort_r is being used by anything in Phobos right now, > so I don't think that the __asm__ has to actually work in this case in order > to build

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #8 from Jonathan M Davis --- (In reply to Iain Buclaw from comment #3) > (In reply to Jonathan M Davis from comment #0) > > This is not an issue on the latest release of dmd - 2.070 - but it is an > > issue on master. It looks like with 2

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #7 from Dlang Bot --- @ibuclaw created dlang/dmd pull request #16184 "partial bugzilla 24389 - importC: Parser support for top-level asm definitions" mentioning this issue: - partial bugzilla 24389 - importC: Parser support for top-level

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #6 from Iain Buclaw --- Support can be simply added to the parser, but I can't see DMD doing anything but ignore or error about it being there. --

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #5 from Iain Buclaw --- (In reply to Iain Buclaw from comment #4) > (In reply to Jonathan M Davis from comment #2) > > --- > > void __qsort_r_compat(void *, size_t, size_t, void *, > > int (*)(void *, const void *, const void *)); >

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #4 from Iain Buclaw --- (In reply to Jonathan M Davis from comment #2) > --- > void __qsort_r_compat(void *, size_t, size_t, void *, > int (*)(void *, const void *, const void *)); > __asm__(".symver " "__qsort_r_compat" ", " "qsort_

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 Iain Buclaw changed: What|Removed |Added CC||ibuc...@gdcproject.org --- Comment #3 from Iai

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #2 from Jonathan M Davis --- Created attachment 1905 --> https://issues.dlang.org/attachment.cgi?id=1905&action=edit cpp output on .c file containing just #include Okay. My experience with importC at this point is pretty much zero, so

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 --- Comment #1 from Walter Bright --- There isn't quite enough information there. If you could compile with cpp to capture the preprocessor output, we can pinpoint the exact line of failure. --

[Issue 24389] importC: Building zlib in Phobos with importC fails on FreeBSD 14

2024-02-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24389 Walter Bright changed: What|Removed |Added Keywords||ImportC CC|