digitalmars.D.announce - x86-64 Tango
- Kris (7/7) Oct 14 2007 Tango has historically had a hard time on x86-64 because of issues regar...
- doob (6/16) Oct 16 2007 I'm getting this error when I try to compile tango under linux x86-64 us...
- Kris (3/24) Oct 16 2007 you are setting -version=Posix as usual?
- doob (16/48) Oct 17 2007 I had no idea I should set -version=Posix, but that didn't make any diff...
- Lars Ivar Igesund (8/26) Oct 17 2007 Could you create a patch with the correct values, if they are available ...
- Lars Ivar Igesund (7/31) Oct 17 2007 And please attach it to a ticket :)
- doob (2/36) Oct 17 2007
- Lars Ivar Igesund (7/8) Oct 17 2007 Thanks :)
- doob (2/31) Oct 17 2007
- BCS (6/43) Oct 17 2007 generate a c file with the needed includes and:
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:And please attach it to a ticket :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoI 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?
Oct 17 2007
Lars Ivar Igesund Wrote:Lars Ivar Igesund wrote:doob wrote:And please attach it to a ticket :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoI 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?
Oct 17 2007
doob wrote:Thanks :) -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 17 2007
I don't know where the correct values are, I've looked in sys/socket.h 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? -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 17 2007
doob wrote:I don't know where the correct values are, I've looked in sys/socket.h Lars Ivar Igesund Wrote:generate a c file with the needed includes and: int i = SOL_SOCKET; run it through cpp (the c preprocessor) and look at the last tine or use printf("%d\n", SOL_SOCKET);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