unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74216: [science team] flint build failure
@ 2024-11-05 20:43 Greg Hogan
  2024-11-05 20:47 ` bug#74216: [PATCH science-team] gnu: flint: Update gcc version Greg Hogan
  2024-11-12 14:01 ` bug#74216: [science team] flint build failure Andreas Enge
  0 siblings, 2 replies; 4+ messages in thread
From: Greg Hogan @ 2024-11-05 20:43 UTC (permalink / raw)
  To: 74216; +Cc: Andreas Enge, Sharlatan Hellseher, bavier

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

flint fails to build for me with the following error unless I include
as an input a newer gcc version.

Greg

--8<---------------cut here---------------start------------->8---
  CC  fmpz_poly_q/add.c
In file included from src/fft_small/mpn_mul.c:17:
src/fft_small/mpn_mul.c: In function ‘_mpn_from_ffts_8’:
./src/crt_helpers.h:120:3: error: ‘asm’ operand has impossible constraints
  120 |   __asm__ ("addq %23,%q7\nadcq %21,%q6\nadcq %19,%q5\n\tadcq
%17,%q4\n\tadcq %15,%q3\n\tadcq %13,%q2\n\tadcq %11,%q1\n\tadcq
%9,%q0"    \
      |   ^~~~~~~
./src/crt_helpers.h:378:5: note: in expansion of macro
‘add_ssssssssaaaaaaaaaaaaaaaa’
  378 |     add_ssssssssaaaaaaaaaaaaaaaa(z[7],z[6],z[5],z[4],z[3],z[2],z[1],z[0],
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/crt_helpers.h:120:3: error: ‘asm’ operand has impossible constraints
  120 |   __asm__ ("addq %23,%q7\nadcq %21,%q6\nadcq %19,%q5\n\tadcq
%17,%q4\n\tadcq %15,%q3\n\tadcq %13,%q2\n\tadcq %11,%q1\n\tadcq
%9,%q0"    \
      |   ^~~~~~~
./src/crt_helpers.h:378:5: note: in expansion of macro
‘add_ssssssssaaaaaaaaaaaaaaaa’
  378 |     add_ssssssssaaaaaaaaaaaaaaaa(z[7],z[6],z[5],z[4],z[3],z[2],z[1],z[0],
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--8<---------------cut here---------------end--------------->8---

[-- Attachment #2: diy9z2pwhjn6g5friaxcq32jpdx36b-flint-3.1.2.drv.gz --]
[-- Type: application/gzip, Size: 65460 bytes --]

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

end of thread, other threads:[~2024-11-12 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05 20:43 bug#74216: [science team] flint build failure Greg Hogan
2024-11-05 20:47 ` bug#74216: [PATCH science-team] gnu: flint: Update gcc version Greg Hogan
2024-11-12 14:01 ` bug#74216: [science team] flint build failure Andreas Enge
2024-11-12 19:19   ` Greg Hogan

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).