Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
October 15, 2007 x86-64 Tango | ||||
---|---|---|---|---|
| ||||
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 ... |
October 16, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | 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 ...
>
>
|
October 16, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to doob | 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 ... >> >> > |
October 17, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | 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 ...
> >>
> >>
> >
>
>
|
October 17, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to doob | 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 |
October 17, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | 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 |
October 17, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | 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
|
October 17, 2007 Re: x86-64 Tango | ||||
---|---|---|---|---|
| ||||
Posted in reply to doob | 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 |
Copyright © 1999-2021 by the D Language Foundation