Re: Build Mesa with a different toolchain version

2021-06-02 Thread Thiago Jung Bauermann
Em quarta-feira, 2 de junho de 2021, às 08:13:17 -03, Tobias Geerinckx-Rice escreveu: > Two notes after a calming walk in the woods: Always a good idea! > Tobias Geerinckx-Rice 写道: > > > no package has a ‘gcc-toolchain’ input. > > Not true: 2 do. I meant that ‘the toolchain’ used to build > e

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Thiago Jung Bauermann
Hello, Thank you for your response. Em quarta-feira, 2 de junho de 2021, às 06:42:41 -03, Tobias Geerinckx-Rice escreveu: > Thiago, > > Thiago Jung Bauermann 写道: > > > $ guix build --system=i686-linux \ > > > > --with-input=gcc-toolchain=gcc-toolchain@10.3.0 mesa > > > > […] > > successf

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Thiago Jung Bauermann
Hi, Thank you for your response. Em quarta-feira, 2 de junho de 2021, às 06:22:48 -03, Efraim Flashner escreveu: > On Tue, Jun 01, 2021 at 09:46:56PM -0300, Thiago Jung Bauermann wrote: > > Hello, > > > > I'm having and issue with Mesa on i686-linux which I suspect is caused > > by the version o

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Tobias Geerinckx-Rice
Two notes after a calming walk in the woods: Tobias Geerinckx-Rice 写道: no package has a ‘gcc-toolchain’ input. Not true: 2 do. I meant that ‘the toolchain’ used to build everything… It is not used internally by Guix. …is not the "gcc-toolchain" package as such. (package (inherit gcc->

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Tobias Geerinckx-Rice
Thiago Jung Bauermann 写道: (define gcc->gcc-10 (package-input-rewriting `((,gcc-7 . ,gcc-10) (,(make-libstdc++ gcc-7) . ,(make-libstdc++ gcc-10) (define-public mesa-10 (package (inherit (gcc->gcc-10 mesa)) (name "mesa-10"

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Tobias Geerinckx-Rice
Thiago, Thiago Jung Bauermann 写道: $ guix build --system=i686-linux \ --with-input=gcc-toolchain=gcc-toolchain@10.3.0 mesa […] successfully built /gnu/store/bg01dw0178yb7v9xr4zmq5f05200f2ql-mesa-20.2.4.drv /gnu/store/mvy7pl73yqrd9pi3k3xq14i6dmnfbl8s-mesa-20.2.4-bin /gnu/store/ii8fbly1s1

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Efraim Flashner
On Tue, Jun 01, 2021 at 09:46:56PM -0300, Thiago Jung Bauermann wrote: > Hello, > > I'm having and issue with Mesa on i686-linux which I suspect is caused by > the version of GCC used to build it (i.e. 7.5.0). > > To test my theory, I'm trying to build Mesa with a newer version of the > compiler.

Re: Build Mesa with a different toolchain version

2021-06-02 Thread Thiago Jung Bauermann
After sending the email, I thought of another thing to try, but it didn't help. I thought I'd mention it here for completeness: Try #3: Using this definition in my local channel: ``` (define gcc->gcc-10 (package-input-rewriting `((,gcc-7 . ,gcc-10) (,(make-libstdc+

Build Mesa with a different toolchain version

2021-06-02 Thread Thiago Jung Bauermann
Hello, I'm having and issue with Mesa on i686-linux which I suspect is caused by the version of GCC used to build it (i.e. 7.5.0). To test my theory, I'm trying to build Mesa with a newer version of the compiler. I tried a few different things, but none worked. I would be grateful if someone coul