All of lore.kernel.org
 help / color / mirror / Atom feed
* mesa 7.7.1 and 7.8.1 fails to compile under uclibc
@ 2010-05-27  5:41 Piotr Gluszenia Slawinski
  2010-05-27  6:29 ` Piotr Gluszenia Slawinski
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Gluszenia Slawinski @ 2010-05-27  5:41 UTC (permalink / raw)
  To: dri-devel


hello. problem as in topic.
http://83.18.299.190/uclibc/ contain files which might add some light
to subject :)

it seems that problem is that _GNU_SOURCE is passed on (i know it from
irc chat with someone bit more skilled)

previous mesa versions compiled fine with uclibc

-- 

------------------------------------------------------------------------------

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mesa 7.7.1 and 7.8.1 fails to compile under uclibc
  2010-05-27  5:41 mesa 7.7.1 and 7.8.1 fails to compile under uclibc Piotr Gluszenia Slawinski
@ 2010-05-27  6:29 ` Piotr Gluszenia Slawinski
  2010-05-27 15:36   ` Brian Paul
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Gluszenia Slawinski @ 2010-05-27  6:29 UTC (permalink / raw)
  To: dri-devel

> hello. problem as in topic.
> http://83.18.299.190/uclibc/ contain files which might add some light
> to subject :)
>
> it seems that problem is that _GNU_SOURCE is passed on (i know it from
> irc chat with someone bit more skilled)
>
> previous mesa versions compiled fine with uclibc

http://pastebin.com/g20gCNxe

following modification seems to fix the problem

-- 

------------------------------------------------------------------------------

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mesa 7.7.1 and 7.8.1 fails to compile under uclibc
  2010-05-27  6:29 ` Piotr Gluszenia Slawinski
@ 2010-05-27 15:36   ` Brian Paul
  2010-05-27 16:26     ` Piotr Gluszenia Slawinski
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Paul @ 2010-05-27 15:36 UTC (permalink / raw)
  To: Piotr Gluszenia Slawinski; +Cc: dri-devel@lists.sourceforge.net

Piotr Gluszenia Slawinski wrote:
>> hello. problem as in topic.
>> http://83.18.299.190/uclibc/ contain files which might add some light
>> to subject :)
>>
>> it seems that problem is that _GNU_SOURCE is passed on (i know it from
>> irc chat with someone bit more skilled)
>>
>> previous mesa versions compiled fine with uclibc
> 
> http://pastebin.com/g20gCNxe
> 
> following modification seems to fix the problem

Did you forget an attachment?

I don't see a difference in the code at the given URL.

-Brian


------------------------------------------------------------------------------

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mesa 7.7.1 and 7.8.1 fails to compile under uclibc
  2010-05-27 15:36   ` Brian Paul
@ 2010-05-27 16:26     ` Piotr Gluszenia Slawinski
  2010-05-27 16:48       ` Brian Paul
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Gluszenia Slawinski @ 2010-05-27 16:26 UTC (permalink / raw)
  To: Brian Paul; +Cc: dri-devel@lists.sourceforge.net



-- 

On Thu, 27 May 2010, Brian Paul wrote:

> Piotr Gluszenia Slawinski wrote:
>> >  hello. problem as in topic.
>> >  http://83.18.299.190/uclibc/ contain files which might add some light
>> >  to subject :)
>> > 
>> >  it seems that problem is that _GNU_SOURCE is passed on (i know it from
>> >  irc chat with someone bit more skilled)
>> > 
>> >  previous mesa versions compiled fine with uclibc
>>
>>  http://pastebin.com/g20gCNxe
>>
>>  following modification seems to fix the problem
>
> Did you forget an attachment?
>
> I don't see a difference in the code at the given URL.
>
> -Brian

basically 'fix' (or rather quick hack) goes down to line :

#if defined(_GNU_SOURCE) && !defined(__UCLIBC_MAJOR__)

it should be ~801 line of original main/imports.c .

while discussing it on #uclibc, conclusion was drawn that this is
not very ellegant solution - program should check if locale are available,
they can be both existant in uclibc, or missing in glibc (or elibc, libc5 
, etc. implementation) - it is not considered 'given' part of libc.

current 'fix' "works for me" though and allows at least uclibc users enjoy 
mesa :)

-- 

------------------------------------------------------------------------------

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mesa 7.7.1 and 7.8.1 fails to compile under uclibc
  2010-05-27 16:26     ` Piotr Gluszenia Slawinski
@ 2010-05-27 16:48       ` Brian Paul
  2010-05-27 16:53         ` Piotr Gluszenia Slawinski
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Paul @ 2010-05-27 16:48 UTC (permalink / raw)
  To: Piotr Gluszenia Slawinski; +Cc: dri-devel@lists.sourceforge.net

> On Thu, 27 May 2010, Brian Paul wrote:
>> > Piotr Gluszenia Slawinski wrote:
>>>> >> >  hello. problem as in topic.
>>>> >> >  http://83.18.299.190/uclibc/ contain files which might add some light
>>>> >> >  to subject :)
>>>> >> > 
>>>> >> >  it seems that problem is that _GNU_SOURCE is passed on (i know it from
>>>> >> >  irc chat with someone bit more skilled)
>>>> >> > 
>>>> >> >  previous mesa versions compiled fine with uclibc
>>> >>
>>> >>  http://pastebin.com/g20gCNxe
>>> >>
>>> >>  following modification seems to fix the problem
>> >
>> > Did you forget an attachment?
>> >
>> > I don't see a difference in the code at the given URL.
>> >
>> > -Brian
> 
> basically 'fix' (or rather quick hack) goes down to line :
> 
> #if defined(_GNU_SOURCE) && !defined(__UCLIBC_MAJOR__)
> 
> it should be ~801 line of original main/imports.c .
> 
> while discussing it on #uclibc, conclusion was drawn that this is
> not very ellegant solution - program should check if locale are available,
> they can be both existant in uclibc, or missing in glibc (or elibc, libc5 
> , etc. implementation) - it is not considered 'given' part of libc.
> 
> current 'fix' "works for me" though and allows at least uclibc users enjoy 
> mesa :)

Can you send a regular patch?  I still don't understand what needs to 
be changed.

-Brian

------------------------------------------------------------------------------

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mesa 7.7.1 and 7.8.1 fails to compile under uclibc
  2010-05-27 16:48       ` Brian Paul
@ 2010-05-27 16:53         ` Piotr Gluszenia Slawinski
  0 siblings, 0 replies; 6+ messages in thread
From: Piotr Gluszenia Slawinski @ 2010-05-27 16:53 UTC (permalink / raw)
  To: Brian Paul; +Cc: dri-devel@lists.sourceforge.net

On Thu, 27 May 2010, Brian Paul wrote:

>>  On Thu, 27 May 2010, Brian Paul wrote:
>> > >  Piotr Gluszenia Slawinski wrote:
>> > > > > > >   hello. problem as in topic.
>> > > > > > >   http://83.18.299.190/uclibc/ contain files which might add 
>> > > > > > >   some light
>> > > > > > >   to subject :)
>> > > > > > > 
>> > > > > > >   it seems that problem is that _GNU_SOURCE is passed on (i 
>> > > > > > >   know it from
>> > > > > > >   irc chat with someone bit more skilled)
>> > > > > > > 
>> > > > > > >   previous mesa versions compiled fine with uclibc
>> > > > > 
>> > > > >   http://pastebin.com/g20gCNxe
>> > > > > 
>> > > > >   following modification seems to fix the problem
>> > > 
>> > >  Did you forget an attachment?
>> > > 
>> > >  I don't see a difference in the code at the given URL.
>> > > 
>> > >  -Brian
>>
>>  basically 'fix' (or rather quick hack) goes down to line :
>>
>>  #if defined(_GNU_SOURCE) && !defined(__UCLIBC_MAJOR__)
>>
>>  it should be ~801 line of original main/imports.c .
>>
>>  while discussing it on #uclibc, conclusion was drawn that this is
>>  not very ellegant solution - program should check if locale are available,
>>  they can be both existant in uclibc, or missing in glibc (or elibc, libc5
>>  , etc. implementation) - it is not considered 'given' part of libc.
>>
>>  current 'fix' "works for me" though and allows at least uclibc users enjoy
>>  mesa :)
>
> Can you send a regular patch?  I still don't understand what needs to be 
> changed.

esna media-libs # diff mesa-7.8.1/work/Mesa-7.8.1/src/mesa/main/imports.c 
mesa-7.8.1-uclibc/work/Mesa-7.8.1/src/mesa/main/imports.c
802c802
< #ifdef _GNU_SOURCE
---
> #if defined(_GNU_SOURCE) && !defined(__UCLIBC_MAJOR__)

-- 

------------------------------------------------------------------------------

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-27 16:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27  5:41 mesa 7.7.1 and 7.8.1 fails to compile under uclibc Piotr Gluszenia Slawinski
2010-05-27  6:29 ` Piotr Gluszenia Slawinski
2010-05-27 15:36   ` Brian Paul
2010-05-27 16:26     ` Piotr Gluszenia Slawinski
2010-05-27 16:48       ` Brian Paul
2010-05-27 16:53         ` Piotr Gluszenia Slawinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.