Public bug reported:

Since 12.3.2-1 and currently with 12.4.1-2 in questing proposed, nvidia-
cuda-toolkit FTBFS on ppc64el with LTO enabled.

This is currently preventing migration of 12.4.1-2 to the questing
release pocket, and will for the upcoming Qt 6.9 transition block that
transition due to the required rebuild not being migratable.

Upon testing, adding nvidia-cuda-toolkit to the lto-disabled-list for
ppc64el resolves the FTBFS

Obviously it is ultimately desirable that the package builds successful
with OR without LTO.

The original build error is:

/tmp/ccx3zQcb.s: Assembler messages:
/tmp/ccx3zQcb.s:37009: Error: symbol `start_bcax_2780' is already defined
/tmp/ccx3zQcb.s:37013: Error: symbol `end_bcax_2780' is already defined
/tmp/ccx3zQcb.s:37539: Error: symbol `start_bcax_2789' is already defined
/tmp/ccx3zQcb.s:37543: Error: symbol `end_bcax_2789' is already defined
/tmp/ccx3zQcb.s:38069: Error: symbol `start_bcax_2798' is already defined
/tmp/ccx3zQcb.s:38073: Error: symbol `end_bcax_2798' is already defined
/tmp/ccx3zQcb.s:38599: Error: symbol `start_bcax_2807' is already defined
/tmp/ccx3zQcb.s:38603: Error: symbol `end_bcax_2807' is already defined
/tmp/ccx3zQcb.s:39129: Error: symbol `start_bcax_2817' is already defined
/tmp/ccx3zQcb.s:39133: Error: symbol `end_bcax_2817' is already defined
/tmp/ccx3zQcb.s:39659: Error: symbol `start_bcax_2827' is already defined
/tmp/ccx3zQcb.s:39663: Error: symbol `end_bcax_2827' is already defined
/tmp/ccx3zQcb.s:40189: Error: symbol `start_bcax_2879' is already defined
/tmp/ccx3zQcb.s:40193: Error: symbol `end_bcax_2879' is already defined
/tmp/ccx3zQcb.s:40719: Error: symbol `start_bcax_2888' is already defined
/tmp/ccx3zQcb.s:40723: Error: symbol `end_bcax_2888' is already defined
/tmp/ccx3zQcb.s:41249: Error: symbol `start_bcax_2897' is already defined
/tmp/ccx3zQcb.s:41253: Error: symbol `end_bcax_2897' is already defined
/tmp/ccx3zQcb.s:41779: Error: symbol `start_bcax_2906' is already defined
/tmp/ccx3zQcb.s:41783: Error: symbol `end_bcax_2906' is already defined
/tmp/ccx3zQcb.s:42308: Error: symbol `start_bcax_2916' is already defined
/tmp/ccx3zQcb.s:42311: Error: symbol `end_bcax_2916' is already defined
/tmp/ccx3zQcb.s:44341: Error: symbol `start_bcax_3035' is already defined
/tmp/ccx3zQcb.s:44343: Error: symbol `end_bcax_3035' is already defined
make[6]: *** [/tmp/ccSwT41y.mk:29: /tmp/ccBlSEss.ltrans9.ltrans.o] Error 1
make[6]: *** Waiting for unfinished jobs....
g++ -x c++    -I. -I. -I./config -DLOCALEDIR="\"/usr/share/locale\"" 
-DHAVE_CONFIG_H -I./../include/opcode    -I../bfd -I./../bfd -I./../include 
-I../libdecnumber -I./../libdecnumber  -I./../gnulib/import -I../gnulib/import 
-I./.. -I.. -I./../libbacktrace/ -I../libbacktrace/   -DTUI=1 -Wdate-time 
-D_FORTIFY_SOURCE=3 
-I/<<PKGBUILDDIR>>/nvidia-cuda-tree-ppc64el/cuda_cudart/include   -I./.. 
-pthread  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable 
-Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body 
-Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare 
-Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override 
-Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy 
-Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations 
-Wstrict-null-sentinel -Wformat -Wformat-nonliteral  -g -O3 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/nvidia-cuda-toolkit-12.4.1-2     
-c -o auxv.o -MT auxv.o -MMD -MP -MF ./.deps/auxv.Tpo auxv.c
In file included from ./../gdbsupport/common-defs.h:106,
                 from defs.h:33,
                 from auxv.c:25:
./../include/ansidecl.h:342:8: warning: template-id not allowed for constructor 
in C++20 [-Wtemplate-id-cdtor]
  342 |   TYPE (const TYPE&) = delete;                  \
      |        ^
ui-out.h:412:3: note: in expansion of macro ‘DISABLE_COPY_AND_ASSIGN’
  412 |   DISABLE_COPY_AND_ASSIGN (ui_out_emit_type<Type>);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
./../include/ansidecl.h:342:8: note: remove the ‘< >’
  342 |   TYPE (const TYPE&) = delete;                  \
      |        ^
ui-out.h:412:3: note: in expansion of macro ‘DISABLE_COPY_AND_ASSIGN’
  412 |   DISABLE_COPY_AND_ASSIGN (ui_out_emit_type<Type>);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:379: gdbserver] Error 1

** Affects: lto-disabled-list (Ubuntu)
     Importance: High
     Assignee: Rik Mills (rikmills)
         Status: Confirmed

** Affects: nvidia-cuda-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: lto-disabled-list (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lto-disabled-list (Ubuntu)
       Status: New => Confirmed

** Changed in: lto-disabled-list (Ubuntu)
   Importance: Undecided => High

** Changed in: lto-disabled-list (Ubuntu)
     Assignee: (unassigned) => Rik Mills (rikmills)

** Description changed:

  Since 12.3.2-1 and currently with 12.4.1-2 in questing proposed, nvidia-
  cuda-toolkit FTBFS on ppc64el with LTO enabled.
  
  This is currently preventing migration of 12.4.1-2 to the questing
  release pocket, and will for the upcoming Qt 6.9 transition block that
  transition due to the required rebuild not being migratable.
  
  Upon testing, adding nvidia-cuda-toolkit to the lto-disabled-list for
  ppc64el resolves the FTBFS
  
- Obviously is is desirable that the package builds successful with OR
- without LTO.
+ Obviously it is ultimately desirable that the package builds successful
+ with OR without LTO.
  
  The original build error is:
  
  /tmp/ccx3zQcb.s: Assembler messages:
  /tmp/ccx3zQcb.s:37009: Error: symbol `start_bcax_2780' is already defined
  /tmp/ccx3zQcb.s:37013: Error: symbol `end_bcax_2780' is already defined
  /tmp/ccx3zQcb.s:37539: Error: symbol `start_bcax_2789' is already defined
  /tmp/ccx3zQcb.s:37543: Error: symbol `end_bcax_2789' is already defined
  /tmp/ccx3zQcb.s:38069: Error: symbol `start_bcax_2798' is already defined
  /tmp/ccx3zQcb.s:38073: Error: symbol `end_bcax_2798' is already defined
  /tmp/ccx3zQcb.s:38599: Error: symbol `start_bcax_2807' is already defined
  /tmp/ccx3zQcb.s:38603: Error: symbol `end_bcax_2807' is already defined
  /tmp/ccx3zQcb.s:39129: Error: symbol `start_bcax_2817' is already defined
  /tmp/ccx3zQcb.s:39133: Error: symbol `end_bcax_2817' is already defined
  /tmp/ccx3zQcb.s:39659: Error: symbol `start_bcax_2827' is already defined
  /tmp/ccx3zQcb.s:39663: Error: symbol `end_bcax_2827' is already defined
  /tmp/ccx3zQcb.s:40189: Error: symbol `start_bcax_2879' is already defined
  /tmp/ccx3zQcb.s:40193: Error: symbol `end_bcax_2879' is already defined
  /tmp/ccx3zQcb.s:40719: Error: symbol `start_bcax_2888' is already defined
  /tmp/ccx3zQcb.s:40723: Error: symbol `end_bcax_2888' is already defined
  /tmp/ccx3zQcb.s:41249: Error: symbol `start_bcax_2897' is already defined
  /tmp/ccx3zQcb.s:41253: Error: symbol `end_bcax_2897' is already defined
  /tmp/ccx3zQcb.s:41779: Error: symbol `start_bcax_2906' is already defined
  /tmp/ccx3zQcb.s:41783: Error: symbol `end_bcax_2906' is already defined
  /tmp/ccx3zQcb.s:42308: Error: symbol `start_bcax_2916' is already defined
  /tmp/ccx3zQcb.s:42311: Error: symbol `end_bcax_2916' is already defined
  /tmp/ccx3zQcb.s:44341: Error: symbol `start_bcax_3035' is already defined
  /tmp/ccx3zQcb.s:44343: Error: symbol `end_bcax_3035' is already defined
  make[6]: *** [/tmp/ccSwT41y.mk:29: /tmp/ccBlSEss.ltrans9.ltrans.o] Error 1
  make[6]: *** Waiting for unfinished jobs....
  g++ -x c++    -I. -I. -I./config -DLOCALEDIR="\"/usr/share/locale\"" 
-DHAVE_CONFIG_H -I./../include/opcode    -I../bfd -I./../bfd -I./../include 
-I../libdecnumber -I./../libdecnumber  -I./../gnulib/import -I../gnulib/import 
-I./.. -I.. -I./../libbacktrace/ -I../libbacktrace/   -DTUI=1 -Wdate-time 
-D_FORTIFY_SOURCE=3 
-I/<<PKGBUILDDIR>>/nvidia-cuda-tree-ppc64el/cuda_cudart/include   -I./.. 
-pthread  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable 
-Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body 
-Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare 
-Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override 
-Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy 
-Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations 
-Wstrict-null-sentinel -Wformat -Wformat-nonliteral  -g -O3 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/nvidia-cuda-toolkit-12.4.1-2     
-c -o auxv.o -MT auxv.o -MMD -MP -MF ./.deps/auxv.Tpo auxv.c
  In file included from ./../gdbsupport/common-defs.h:106,
-                  from defs.h:33,
-                  from auxv.c:25:
+                  from defs.h:33,
+                  from auxv.c:25:
  ./../include/ansidecl.h:342:8: warning: template-id not allowed for 
constructor in C++20 [-Wtemplate-id-cdtor]
-   342 |   TYPE (const TYPE&) = delete;                  \
-       |        ^
+   342 |   TYPE (const TYPE&) = delete;                  \
+       |        ^
  ui-out.h:412:3: note: in expansion of macro ‘DISABLE_COPY_AND_ASSIGN’
-   412 |   DISABLE_COPY_AND_ASSIGN (ui_out_emit_type<Type>);
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
+   412 |   DISABLE_COPY_AND_ASSIGN (ui_out_emit_type<Type>);
+       |   ^~~~~~~~~~~~~~~~~~~~~~~
  ./../include/ansidecl.h:342:8: note: remove the ‘< >’
-   342 |   TYPE (const TYPE&) = delete;                  \
-       |        ^
+   342 |   TYPE (const TYPE&) = delete;                  \
+       |        ^
  ui-out.h:412:3: note: in expansion of macro ‘DISABLE_COPY_AND_ASSIGN’
-   412 |   DISABLE_COPY_AND_ASSIGN (ui_out_emit_type<Type>);
-       |   ^~~~~~~~~~~~~~~~~~~~~~~
+   412 |   DISABLE_COPY_AND_ASSIGN (ui_out_emit_type<Type>);
+       |   ^~~~~~~~~~~~~~~~~~~~~~~
  lto-wrapper: fatal error: make returned 2 exit status
  compilation terminated.
  /usr/bin/ld: error: lto-wrapper failed
  collect2: error: ld returned 1 exit status
  make[5]: *** [Makefile:379: gdbserver] Error 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2117486

Title:
  questing: FTBFS on ppc64el in questing proposed with LTO enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lto-disabled-list/+bug/2117486/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to