April 22, 2021

On Thursday, 22 April 2021 at 06:55:05 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 06:31:14 UTC, Ferhat Kurtulmuş wrote:

>

On Wednesday, 21 April 2021 at 18:03:57 UTC, Imperatorn wrote:

>

[...]

Thank you for your valued efforts. I would like to report some additional results of my tests. I could also compile dub by adding "gdruntime" "gphobos" "wsock32" "ws2_32" in dub.sdl. I don't know if it is expected, but it looks like GDC does not link Phobos automatically as LDC does. If I am not wrong g++ also expects c++ runtime must be linked explicitly with -lstd++. And, I tried a simple SDL2 based dub project but I got a Segmentation fault during compilation.

Did you try running this with the build script pointing to http://github.com/Imperatorn/gcc?

I did not understand what you mean, I am sorry. If you mean if I used your build scripts in gist repo[1], yes.

1: https://gist.githubusercontent.com/Imperatorn/7d37f22140ea5b2c80dee5a86ffff2a3/raw/761ea945c28586f5c6bbc2e09d93a27383701da8/build.sh

April 22, 2021

On Thursday, 22 April 2021 at 07:09:01 UTC, Ferhat Kurtulmuş wrote:

>

On Thursday, 22 April 2021 at 06:55:05 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 06:31:14 UTC, Ferhat Kurtulmuş wrote:

>

[...]

Did you try running this with the build script pointing to http://github.com/Imperatorn/gcc?

I did not understand what you mean, I am sorry. If you mean if I used your build scripts in gist repo[1], yes.

1: https://gist.githubusercontent.com/Imperatorn/7d37f22140ea5b2c80dee5a86ffff2a3/raw/761ea945c28586f5c6bbc2e09d93a27383701da8/build.sh

Sorry, yes, that's what I meant. I'm currently trying another branch, I'll report back when I have more information.

April 22, 2021

On Thursday, 22 April 2021 at 07:19:37 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 07:09:01 UTC, Ferhat Kurtulmuş wrote:

>

On Thursday, 22 April 2021 at 06:55:05 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 06:31:14 UTC, Ferhat Kurtulmuş wrote:

>

[...]

Did you try running this with the build script pointing to http://github.com/Imperatorn/gcc?

I did not understand what you mean, I am sorry. If you mean if I used your build scripts in gist repo[1], yes.

1: https://gist.githubusercontent.com/Imperatorn/7d37f22140ea5b2c80dee5a86ffff2a3/raw/761ea945c28586f5c6bbc2e09d93a27383701da8/build.sh

Sorry, yes, that's what I meant. I'm currently trying another branch, I'll report back when I have more information.

Currently these seem to not be correctly linked in libphobos:
process.d needs shell32.lib
advapi32.d needs advapi32.lib
winsock2.d needs ws2_32
socket.d needs ws2_32.lib and wsock32.lib

Since gcc doesn't support pragma lib we have to fix those (it's used in the sources)

April 22, 2021

On Thursday, 22 April 2021 at 09:40:51 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 07:19:37 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 07:09:01 UTC, Ferhat Kurtulmuş wrote:

>

On Thursday, 22 April 2021 at 06:55:05 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 06:31:14 UTC, Ferhat Kurtulmuş wrote:

>

[...]

Did you try running this with the build script pointing to http://github.com/Imperatorn/gcc?

I did not understand what you mean, I am sorry. If you mean if I used your build scripts in gist repo[1], yes.

1: https://gist.githubusercontent.com/Imperatorn/7d37f22140ea5b2c80dee5a86ffff2a3/raw/761ea945c28586f5c6bbc2e09d93a27383701da8/build.sh

Sorry, yes, that's what I meant. I'm currently trying another branch, I'll report back when I have more information.

Currently these seem to not be correctly linked in libphobos:
process.d needs shell32.lib
advapi32.d needs advapi32.lib
winsock2.d needs ws2_32
socket.d needs ws2_32.lib and wsock32.lib

Since gcc doesn't support pragma lib we have to fix those (it's used in the sources)

Yes, I saw those definitions in the sources of Phobos and thought that they might be the reason. libphobos shouldn't have relied on those pragmas. In the current situation, each compiler somehow has to support them. I see here[1] that LDC supports them.

https://github.com/ldc-developers/ldc/blob/master/CHANGELOG.md#ldc-1200-2020-02-14

April 22, 2021

On Thursday, 22 April 2021 at 09:59:23 UTC, Ferhat Kurtulmuş wrote:

>

On Thursday, 22 April 2021 at 09:40:51 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 07:19:37 UTC, Imperatorn wrote:

>

[...]

Currently these seem to not be correctly linked in libphobos:
process.d needs shell32.lib
advapi32.d needs advapi32.lib
winsock2.d needs ws2_32
socket.d needs ws2_32.lib and wsock32.lib

Since gcc doesn't support pragma lib we have to fix those (it's used in the sources)

Yes, I saw those definitions in the sources of Phobos and thought that they might be the reason. libphobos shouldn't have relied on those pragmas. In the current situation, each compiler somehow has to support them. I see here[1] that LDC supports them.

https://github.com/ldc-developers/ldc/blob/master/CHANGELOG.md#ldc-1200-2020-02-14

Yeah, DMD and LDC supports them, but not G[D|C]C

April 23, 2021

On Thursday, 22 April 2021 at 09:59:23 UTC, Ferhat Kurtulmuş wrote:

>

On Thursday, 22 April 2021 at 09:40:51 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 07:19:37 UTC, Imperatorn wrote:

>

[...]

Currently these seem to not be correctly linked in libphobos:
process.d needs shell32.lib
advapi32.d needs advapi32.lib
winsock2.d needs ws2_32
socket.d needs ws2_32.lib and wsock32.lib

Since gcc doesn't support pragma lib we have to fix those (it's used in the sources)

Yes, I saw those definitions in the sources of Phobos and thought that they might be the reason. libphobos shouldn't have relied on those pragmas. In the current situation, each compiler somehow has to support them. I see here[1] that LDC supports them.

https://github.com/ldc-developers/ldc/blob/master/CHANGELOG.md#ldc-1200-2020-02-14

The good news is, there aren't many of them. So we can fix it, but the initial time plan is out of the picture. Maybe some time in May?

June 19, 2021

On Friday, 23 April 2021 at 11:43:59 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 09:59:23 UTC, Ferhat Kurtulmuş wrote:

>

On Thursday, 22 April 2021 at 09:40:51 UTC, Imperatorn wrote:

>

[...]

Yes, I saw those definitions in the sources of Phobos and thought that they might be the reason. libphobos shouldn't have relied on those pragmas. In the current situation, each compiler somehow has to support them. I see here[1] that LDC supports them.

https://github.com/ldc-developers/ldc/blob/master/CHANGELOG.md#ldc-1200-2020-02-14

The good news is, there aren't many of them. So we can fix it, but the initial time plan is out of the picture. Maybe some time in May?

Are there any new problems in solving this issue or is it an issue of time? Also, were there any other blocking issues?

June 22, 2021

On Saturday, 19 June 2021 at 23:08:46 UTC, Preetpal wrote:

>

On Friday, 23 April 2021 at 11:43:59 UTC, Imperatorn wrote:

>

On Thursday, 22 April 2021 at 09:59:23 UTC, Ferhat Kurtulmuş wrote:

>

[...]

The good news is, there aren't many of them. So we can fix it, but the initial time plan is out of the picture. Maybe some time in May?

Are there any new problems in solving this issue or is it an issue of time? Also, were there any other blocking issues?

Most things should be fixed now. Unfortunately I don't have any time right now. Iain is your best hope!

1 2 3 4 5
Next ›   Last »