unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 01/03: llvm: Build with RTTI by default.
       [not found] ` <20181117064012.82A012043C@vcs0.savannah.gnu.org>
@ 2018-11-18 11:06   ` Mark H Weaver
  2018-11-18 13:59     ` Danny Milosavljevic
  2018-11-18 23:05     ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Mark H Weaver @ 2018-11-18 11:06 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Hi Eric,

ericbavier@centurylink.net (Eric Bavier) writes:

> bavier pushed a commit to branch master
> in repository guix.
>
> commit fc9dbf41311d99d0fd8befc789ea7c0e35911890
> Author: Eric Bavier <bavier@member.fsf.org>
> Date:   Fri Oct 5 22:58:43 2018 -0500
>
>     llvm: Build with RTTI by default.
>     
>     Increases size of llvm@6 by 2.5MiB (2.5%), but saves building specialized
>     llvm's with rtti enabled for packages that require RTTI when linking with the
>     llvm libraries.
>     
>     * gnu/packages/llvm.scm (llvm-3.8-with-rtti): Remove variable.
>     (llvm)[arguments]: Add '-DLLVM_REQUIRES_RTTI=1' to #:configure-flags.
>     * gnu/packages/audio.scm (faust-2)[native-inputs]:
>     'llvm-3.8-with-rtti' -> 'llvm-3.8'.

Unfortunately, this seems to have broken Rust, and thus IceCat.  See:

  https://hydra.gnu.org/build/3179552

I don't have time to look at this right now, but please also keep in
mind the following commit:

  commit f8cba3ff4fc6aed0c539700aa47b6e8f4c25c34d
  Author: Marius Bakke <mbakke@fastmail.com>
  Date:   Sat Nov 17 22:54:03 2018 +0100
  
      gnu: mesa: Stay on RTTI-less LLVM.
      
      * gnu/packages/llvm.scm (llvm-without-rtti): New public variable.
      * gnu/packages/gl.scm (mesa)[inputs]: Use that instead of LLVM.

I would suggest simply reverting both of these commits for now, and
building this change out on another branch, possibly 'core-updates'.

IceCat should not be left broken longer than necessary.

     Thanks,
       Mark

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

* Re: 01/03: llvm: Build with RTTI by default.
  2018-11-18 11:06   ` 01/03: llvm: Build with RTTI by default Mark H Weaver
@ 2018-11-18 13:59     ` Danny Milosavljevic
  2018-11-19 18:53       ` Mark H Weaver
  2018-11-18 23:05     ` Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2018-11-18 13:59 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Hi Mark,
Hi Eric,

it might be a spurious failure, see https://github.com/rust-lang/rust/issues/43402 .

> I would suggest simply reverting both of these commits for now, and
> building this change out on another branch, possibly 'core-updates'.

I think that quite a few big important packages depend on LLVM and also suggest
to do it on another branch until it has successfully built them there, then
merge it.

FWIW, I agree that we should eventually have sane defaults in LLVM
(RTTI enabled is pretty much required since all major languages including
even C++ want to support it).

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: 01/03: llvm: Build with RTTI by default.
  2018-11-18 11:06   ` 01/03: llvm: Build with RTTI by default Mark H Weaver
  2018-11-18 13:59     ` Danny Milosavljevic
@ 2018-11-18 23:05     ` Ludovic Courtès
  2018-11-19  3:15       ` Eric Bavier
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2018-11-18 23:05 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Hello,

Mark H Weaver <mhw@netris.org> skribis:

> ericbavier@centurylink.net (Eric Bavier) writes:
>
>> bavier pushed a commit to branch master
>> in repository guix.
>>
>> commit fc9dbf41311d99d0fd8befc789ea7c0e35911890
>> Author: Eric Bavier <bavier@member.fsf.org>
>> Date:   Fri Oct 5 22:58:43 2018 -0500
>>
>>     llvm: Build with RTTI by default.
>>     
>>     Increases size of llvm@6 by 2.5MiB (2.5%), but saves building specialized
>>     llvm's with rtti enabled for packages that require RTTI when linking with the
>>     llvm libraries.
>>     
>>     * gnu/packages/llvm.scm (llvm-3.8-with-rtti): Remove variable.
>>     (llvm)[arguments]: Add '-DLLVM_REQUIRES_RTTI=1' to #:configure-flags.
>>     * gnu/packages/audio.scm (faust-2)[native-inputs]:
>>     'llvm-3.8-with-rtti' -> 'llvm-3.8'.
>
> Unfortunately, this seems to have broken Rust, and thus IceCat.  See:
>
>   https://hydra.gnu.org/build/3179552
>
> I don't have time to look at this right now, but please also keep in
> mind the following commit:
>
>   commit f8cba3ff4fc6aed0c539700aa47b6e8f4c25c34d
>   Author: Marius Bakke <mbakke@fastmail.com>
>   Date:   Sat Nov 17 22:54:03 2018 +0100
>   
>       gnu: mesa: Stay on RTTI-less LLVM.
>       
>       * gnu/packages/llvm.scm (llvm-without-rtti): New public variable.
>       * gnu/packages/gl.scm (mesa)[inputs]: Use that instead of LLVM.
>
> I would suggest simply reverting both of these commits for now, and
> building this change out on another branch, possibly 'core-updates'.

This commit also triggered more than 1K rebuilds per architecture, so
Marius “semi-reverted” it in f8cba3ff4fc6aed0c539700aa47b6e8f4c25c34d
after we discussed it on IRC.

Ludo’.

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

* Re: 01/03: llvm: Build with RTTI by default.
  2018-11-18 23:05     ` Ludovic Courtès
@ 2018-11-19  3:15       ` Eric Bavier
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Bavier @ 2018-11-19  3:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

On Mon, 19 Nov 2018 00:05:18 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Hello,
> 
> Mark H Weaver <mhw@netris.org> skribis:
> 
> > ericbavier@centurylink.net (Eric Bavier) writes:
> >  
> >> bavier pushed a commit to branch master
> >> in repository guix.
> >>
> >> commit fc9dbf41311d99d0fd8befc789ea7c0e35911890
> >> Author: Eric Bavier <bavier@member.fsf.org>
> >> Date:   Fri Oct 5 22:58:43 2018 -0500
> >>
> >>     llvm: Build with RTTI by default.
> >>     
> >>     Increases size of llvm@6 by 2.5MiB (2.5%), but saves building specialized
> >>     llvm's with rtti enabled for packages that require RTTI when linking with the
> >>     llvm libraries.
> >>     
> >>     * gnu/packages/llvm.scm (llvm-3.8-with-rtti): Remove variable.
> >>     (llvm)[arguments]: Add '-DLLVM_REQUIRES_RTTI=1' to #:configure-flags.
> >>     * gnu/packages/audio.scm (faust-2)[native-inputs]:
> >>     'llvm-3.8-with-rtti' -> 'llvm-3.8'.  
> >
> > Unfortunately, this seems to have broken Rust, and thus IceCat.  See:
> >
> >   https://hydra.gnu.org/build/3179552
> >
> > I don't have time to look at this right now, but please also keep in
> > mind the following commit:
> >
> >   commit f8cba3ff4fc6aed0c539700aa47b6e8f4c25c34d
> >   Author: Marius Bakke <mbakke@fastmail.com>
> >   Date:   Sat Nov 17 22:54:03 2018 +0100
> >   
> >       gnu: mesa: Stay on RTTI-less LLVM.
> >       
> >       * gnu/packages/llvm.scm (llvm-without-rtti): New public variable.
> >       * gnu/packages/gl.scm (mesa)[inputs]: Use that instead of LLVM.
> >
> > I would suggest simply reverting both of these commits for now, and
> > building this change out on another branch, possibly 'core-updates'.  
> 
> This commit also triggered more than 1K rebuilds per architecture, so
> Marius “semi-reverted” it in f8cba3ff4fc6aed0c539700aa47b6e8f4c25c34d
> after we discussed it on IRC.

Sorry about all the trouble.  Since posting the patches I had forgotten
how many packages were affected.  I suppose this should have been
pushed to a staging branch.

`~Eric

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: 01/03: llvm: Build with RTTI by default.
  2018-11-18 13:59     ` Danny Milosavljevic
@ 2018-11-19 18:53       ` Mark H Weaver
  0 siblings, 0 replies; 5+ messages in thread
From: Mark H Weaver @ 2018-11-19 18:53 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Hi,

Danny Milosavljevic <dannym@scratchpost.org> writes:
> it might be a spurious failure, see https://github.com/rust-lang/rust/issues/43402 .

You're right, it was a spurious failure.  I asked Hydra to retry, and it
successfully built Rust and IceCat on the second attempt.

>> I would suggest simply reverting both of these commits for now, and
>> building this change out on another branch, possibly 'core-updates'.

This might no longer be needed.

      Thanks,
        Mark

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

end of thread, other threads:[~2018-11-19 18:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20181117064008.27797.44226@vcs0.savannah.gnu.org>
     [not found] ` <20181117064012.82A012043C@vcs0.savannah.gnu.org>
2018-11-18 11:06   ` 01/03: llvm: Build with RTTI by default Mark H Weaver
2018-11-18 13:59     ` Danny Milosavljevic
2018-11-19 18:53       ` Mark H Weaver
2018-11-18 23:05     ` Ludovic Courtès
2018-11-19  3:15       ` Eric Bavier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).