digitalmars.D.announce - x86-64 Tango
- "Kris" <foo bar.com> Oct 14 2007
- doob <doobnet gmail.com> Oct 16 2007
- "Kris" <foo bar.com> Oct 16 2007
- doob <doobnet gmail.com> Oct 17 2007
- Lars Ivar Igesund <larsivar igesund.net> Oct 17 2007
- Lars Ivar Igesund <larsivar igesund.net> Oct 17 2007
- doob <doobnet gmail.com> Oct 17 2007
- Lars Ivar Igesund <larsivar igesund.net> Oct 17 2007
Tango has historically had a hard time on x86-64 because of issues regarding _argptr and the Layout module (string formatting). David Friedman has been aware of the issue, and is considering resolutions. In the meantime, I thought it worthwhile letting people know that David Brown has injected a patch to work around the problem (a big thank-you to David), and string-formatting is now operational on that platform. The SVN version of Tango is patched accordingly ...
Oct 14 2007
I'm getting this error when I try to compile tango under linux x86-64 using the latest svn and dsss tango/sys/linux/socket.d -oflibDG-tango-sys-linux.a tango/sys/linux/socket.d:67: static assert is false Command /opt/dsss/bin/rebuild returned with code 256, aborting. Error: Command failed, aborting. Kris Wrote:Tango has historically had a hard time on x86-64 because of issues regarding _argptr and the Layout module (string formatting). David Friedman has been aware of the issue, and is considering resolutions. In the meantime, I thought it worthwhile letting people know that David Brown has injected a patch to work around the problem (a big thank-you to David), and string-formatting is now operational on that platform. The SVN version of Tango is patched accordingly ...
Oct 16 2007
you are setting -version=Posix as usual? "doob" <doobnet gmail.com> wrote in message news:ff2et6$19db$1 digitalmars.com...I'm getting this error when I try to compile tango under linux x86-64 using the latest svn and dsss tango/sys/linux/socket.d -oflibDG-tango-sys-linux.a tango/sys/linux/socket.d:67: static assert is false Command /opt/dsss/bin/rebuild returned with code 256, aborting. Error: Command failed, aborting. Kris Wrote:Tango has historically had a hard time on x86-64 because of issues regarding _argptr and the Layout module (string formatting). David Friedman has been aware of the issue, and is considering resolutions. In the meantime, I thought it worthwhile letting people know that David Brown has injected a patch to work around the problem (a big thank-you to David), and string-formatting is now operational on that platform. The SVN version of Tango is patched accordingly ...
Oct 16 2007
I had no idea I should set -version=Posix, but that didn't make any difference.
Line 57 in tango.sys.linux.socket:
version( X86 )
{
enum: int
{
SOL_SOCKET = 1,
}
}
else
{
// Different values on other platforms.
static assert(0);
}
There is no "version (X86_64)" so it won't compile, doesn't matter if
"-version=Posix" is set or not.
Kris Wrote:
you are setting -version=Posix as usual?
"doob" <doobnet gmail.com> wrote in message
news:ff2et6$19db$1 digitalmars.com...
I'm getting this error when I try to compile tango under linux x86-64
using the latest svn and dsss
tango/sys/linux/socket.d -oflibDG-tango-sys-linux.a
tango/sys/linux/socket.d:67: static assert is false
Command /opt/dsss/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.
Kris Wrote:
Tango has historically had a hard time on x86-64 because of issues
regarding
_argptr and the Layout module (string formatting). David Friedman has
been
aware of the issue, and is considering resolutions.
In the meantime, I thought it worthwhile letting people know that David
Brown has injected a patch to work around the problem (a big thank-you to
David), and string-formatting is now operational on that platform. The
SVN
version of Tango is patched accordingly ...
Oct 17 2007
doob wrote:I had no idea I should set -version=Posix, but that didn't make any difference. Line 57 in tango.sys.linux.socket: version( X86 ) { enum: int { SOL_SOCKET = 1, } } else { // Different values on other platforms. static assert(0); } There is no "version (X86_64)" so it won't compile, doesn't matter if "-version=Posix" is set or not.
Could you create a patch with the correct values, if they are available to you? -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 17 2007
Lars Ivar Igesund wrote:doob wrote:I had no idea I should set -version=Posix, but that didn't make any difference. Line 57 in tango.sys.linux.socket: version( X86 ) { enum: int { SOL_SOCKET = 1, } } else { // Different values on other platforms. static assert(0); } There is no "version (X86_64)" so it won't compile, doesn't matter if "-version=Posix" is set or not.
Could you create a patch with the correct values, if they are available to you?
And please attach it to a ticket :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 17 2007
I've added a ticket now, Ticket #689 Lars Ivar Igesund Wrote:Lars Ivar Igesund wrote:doob wrote:I had no idea I should set -version=Posix, but that didn't make any difference. Line 57 in tango.sys.linux.socket: version( X86 ) { enum: int { SOL_SOCKET = 1, } } else { // Different values on other platforms. static assert(0); } There is no "version (X86_64)" so it won't compile, doesn't matter if "-version=Posix" is set or not.
Could you create a patch with the correct values, if they are available to you?
And please attach it to a ticket :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 17 2007
doob wrote:I've added a ticket now, Ticket #689
Thanks :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 17 2007








Lars Ivar Igesund <larsivar igesund.net>