Re: IA64: short data segment overflowed issue

2015-12-30 Thread Sergei Trofimovich
On Thu, 20 Jan 2011 17:27:14 -0800 Richard Henderson wrote: > On 01/20/2011 01:26 PM, Sergei Trofimovich wrote: > > So I would like to have "large data segment" feature! > > Can you elaborate what exactly needs to be implemented? > > > > From what I see: > > 0. We need additional flag for gcc: l

Re: IA64: short data segment overflowed issue

2011-01-24 Thread Richard Henderson
On 01/24/2011 11:40 AM, Steve Ellcey wrote: > On Sat, 2011-01-22 at 12:26 -0800, Richard Henderson wrote: >> On 01/22/2011 10:48 AM, Sergei Trofimovich wrote: >>> I've attached dirty patch. It has not very nice comments, tabs and spaces >>> yet. >> >> Steve perhaps should weigh in here... > > I a

Re: IA64: short data segment overflowed issue

2011-01-24 Thread Steve Ellcey
On Sat, 2011-01-22 at 12:26 -0800, Richard Henderson wrote: > On 01/22/2011 10:48 AM, Sergei Trofimovich wrote: > > I've attached dirty patch. It has not very nice comments, tabs and spaces > > yet. > > Steve perhaps should weigh in here... I am not very familiar with AUTO_PIC and NO_PIC. It wo

Re: IA64: short data segment overflowed issue

2011-01-22 Thread Richard Henderson
On 01/22/2011 10:48 AM, Sergei Trofimovich wrote: > I've attached dirty patch. It has not very nice comments, tabs and spaces yet. Steve perhaps should weigh in here... > As I understand, TARGET_AUTO_PIC, TARGET_CONSTANT_GP, > TARGET_NO_PIC should somehow fall into different memory models. > I do

Re: IA64: short data segment overflowed issue

2011-01-22 Thread Sergei Trofimovich
On Thu, 20 Jan 2011 17:27:14 -0800 Richard Henderson wrote: > Depending on how Haskell programs are built, it may be better > to avoid the GOT entirely. E.g. > > -mcmodel=large > > a-la the x86_64 port. This generates full 64-bit absolute > relocations. For ia64 code this would look like >

Re: IA64: short data segment overflowed issue

2011-01-20 Thread Richard Henderson
On 01/20/2011 01:26 PM, Sergei Trofimovich wrote: > So I would like to have "large data segment" feature! > Can you elaborate what exactly needs to be implemented? > > From what I see: > 0. We need additional flag for gcc: let's call it -mhuge-pic > > 1. We need to force GCC to generate any GP (r

Re: IA64: short data segment overflowed issue

2011-01-20 Thread Sergei Trofimovich
On Thu, 06 Jan 2011 09:47:49 -0800 Richard Henderson wrote: > On 01/06/2011 01:17 AM, Karel Gardas wrote: > > BTW: This is on GCC Compile Farm IA64 machine. Now my question is: how > > to solve this issue? Does GCC already support something Intel > > discusses in 2008 here: > > http://software.in

Re: IA64: short data segment overflowed issue

2011-01-06 Thread Richard Henderson
On 01/06/2011 01:17 AM, Karel Gardas wrote: > BTW: This is on GCC Compile Farm IA64 machine. Now my question is: how > to solve this issue? Does GCC already support something Intel > discusses in 2008 here: > http://software.intel.com/en-us/articles/short-data-segment-overflow-error-on-linux-64-on-