From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Paul Subject: Re: mesa 7.7.1 and 7.8.1 fails to compile under uclibc Date: Thu, 27 May 2010 10:48:47 -0600 Message-ID: <4BFEA26F.5000703@vmware.com> References: <4BFE916C.9050805@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: Piotr Gluszenia Slawinski Cc: "dri-devel@lists.sourceforge.net" List-Id: dri-devel@lists.freedesktop.org > 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 ------------------------------------------------------------------------------ --