Package: ngspice Version: 34+ds-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu hirsute ubuntu-patch
Hi, ngspice 34+ds-1 failed to build on ppc64el in Ubuntu [1] because we use -O3 by default on that architecture, and two symbols are optimized away at that level. In Ubuntu, the attached patch was applied to achieve the following: * d/libngspice0.symbols: Mark a couple of symbols as optional that are optimized away with -O3 on ppc64el. Thanks for considering the patch. Logan [1] https://launchpad.net/ubuntu/+source/ngspice/34+ds-1
diff -Nru ngspice-34+ds/debian/libngspice0.symbols ngspice-34+ds/debian/libngspice0.symbols --- ngspice-34+ds/debian/libngspice0.symbols 2021-01-31 06:43:20.000000000 -0500 +++ ngspice-34+ds/debian/libngspice0.symbols 2021-03-05 22:53:34.000000000 -0500 @@ -16,8 +16,8 @@ _Z6HICFCTdN5duals4dualIdEEPS1_S2_@Base 34+ds _Z6QJMODFN5duals4dualIdEES1_S1_dS1_S1_PS1_S2_@Base 34+ds _Z7TMPHICJN5duals4dualIdEEdS1_S1_dddddddPS1_S2_S2_@Base 34+ds - _ZNSt14_Function_baseD1Ev@Base 34+ds - _ZNSt14_Function_baseD2Ev@Base 34+ds + (optional=templinst)_ZNSt14_Function_baseD1Ev@Base 34+ds + (optional=templinst)_ZNSt14_Function_baseD2Ev@Base 34+ds hicum_thermal_update@Base 34+ds # added in 28 ngGet_Evt_NodeInfo@Base 28