View previous topic :: View next topic |
Author |
Message |
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Fri Dec 28, 2007 5:40 pm Post subject: |
|
|
Did some testing with -rdynamic, when building with dmd and passing -rdynamic to the linker it also generates a segfault.
Quote: | I'm still a little confused... |
dmd 1.024 works
dmd 1.024 + -rdynamic segfault
gdc 0.23 works
gdc 0.23 + -rdynamic segfault
gdc 0.24 char** problem, but for the rest works.
gdc 0.24 + -rdynamic segfault
dsss + dmd 1.24 works
dsss + gdc 0.23 segfault
dsss + gdc 0.24 segfault
Those are the combinations i've tried.
dsss only passes the -q and -rdynamic flags when building with gdc. |
|
Back to top |
|
|
Pse
Joined: 13 Dec 2007 Posts: 36
|
Posted: Fri Dec 28, 2007 5:45 pm Post subject: |
|
|
Excellent report, Mike. Would you mind adding it to ticket #4?
I wonder if there's some way of forcing certain flags when building with dsss? Otherwise we'll just have to settle for a makefile when building with gdc for the moment.
Mike, are you getting undefined symbols when building the glade demo with gdc-0.23? (Cairo works, so please test some of the other demos). |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Fri Dec 28, 2007 6:36 pm Post subject: |
|
|
Thanks Mike,
That makes it very clear.
So dsss needs to provide a way to not use -rdynamic with gdc... looks like a ticket for dsss.
I'm curious to know why Gregor made dsss pass these flags for the gdc profile. |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Fri Dec 28, 2007 6:56 pm Post subject: |
|
|
Heh...
Okay, guys. Have a look in dsss' rebuild profile directory (etc/rebulid)
when using gdc, the profile is set to gdc-posix on linux. Have a look in there and find the section "export_dynamic=-q,-rdynamic".
Interesting, eh?
Remove the -rdynamic from that line and see how dsss fairs.
Incidentally, we don't want to have to change this on everyone's install, so a solution would be to override this option using "dsss --config" and providing our own config file for GtkD.... Or perhaps there's a way to override this a an actual symbol in the dsss.conf file.
Anyway... good to know we have some flexibility with dsss, no? |
|
Back to top |
|
|
Pse
Joined: 13 Dec 2007 Posts: 36
|
Posted: Fri Dec 28, 2007 8:10 pm Post subject: |
|
|
JJR wrote: | Heh...
Okay, guys. Have a look in dsss' rebuild profile directory (etc/rebulid)
when using gdc, the profile is set to gdc-posix on linux. Have a look in there and find the section "export_dynamic=-q,-rdynamic".
Interesting, eh?
Remove the -rdynamic from that line and see how dsss fairs. :D
Incidentally, we don't want to have to change this on everyone's install, so a solution would be to override this option using "dsss --config" and providing our own config file for GtkD.... Or perhaps there's a way to override this a an actual symbol in the dsss.conf file.
Anyway... good to know we have some flexibility with dsss, no? |
Lol, we actually thought about the same thing. Have a look in ticket #4 ;).
Incidentally, important stuff such as this should be posted in the ticket, otherwise there's chance it won't get noticed.
Last edited by Pse on Fri Dec 28, 2007 8:19 pm; edited 2 times in total |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Fri Dec 28, 2007 8:17 pm Post subject: |
|
|
Good to see the solutions are there at least!
-JJR |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Fri Dec 28, 2007 8:18 pm Post subject: |
|
|
Pse wrote: | Incidentally, important stuff such as this should be posted in the ticket, otherwise there's chance it won't get noticed. |
Okay, I'll try to remember for next time. |
|
Back to top |
|
|
Pse
Joined: 13 Dec 2007 Posts: 36
|
Posted: Sat Dec 29, 2007 12:13 am Post subject: |
|
|
SVN HEAD should now work out of the box with GDC versions 0.22 and 0.23. Please test and report any bugs to ticket #4.
Please note that GDC versions 0.24 and 0.25 are NOT supported.
Thanks go to JJR and Mike Wey. Great job, guys. |
|
Back to top |
|
|
|