mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2023-06-06, 08:58   #1
PWD
 
May 2023

22 Posts
Default Error while Compiling in PARI/GP

I am facing a below error while compiling using Makefile in Raspberry pi 4.
I can observe that its showing this error only while compiling one of the source file. When I tried to compile it in another ARM based system (ubuntu in M1 MAC) its compiling.

*** bug in PARI/GP (Bus Error), please report. *** Error in the PARI system. End of program.

any idea what should i do to fix it?

I am using clang to compile it and raspberrypi 4, 2GB RAM, Model B.
PWD is offline   Reply With Quote
Old 2023-06-06, 11:25   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

22·3·401 Posts
Default

Quote:
Originally Posted by PWD View Post
I am facing a below error while compiling using Makefile in Raspberry pi 4.
I can observe that its showing this error only while compiling one of the source file. When I tried to compile it in another ARM based system (ubuntu in M1 MAC) its compiling.

*** bug in PARI/GP (Bus Error), please report. *** Error in the PARI system. End of program.

any idea what should i do to fix it?

I am using clang to compile it and raspberrypi 4, 2GB RAM, Model B.
Please give more compiler output information. Maybe your r-pi is missing a package or some header files.

If compilation turns out to be a headache for you, use the package manager:sudo apt-get update followed by sudo apt-get install pari-gp

Last fiddled with by paulunderwood on 2023-06-06 at 11:31
paulunderwood is online now   Reply With Quote
Old 2023-06-12, 08:23   #3
PWD
 
May 2023

22 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Please give more compiler output information. Maybe your r-pi is missing a package or some header files.

If compilation turns out to be a headache for you, use the package manager:sudo apt-get update followed by sudo apt-get install pari-gp

I already have this package installed. Its compiling all the files remaining files but but when it comes to this source file 'precomputed.c', this is where its showing the error.

I am using clang compiler

Raspbian clang version 11.0.1-2+rpi1
Target: armv6k-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
PWD is offline   Reply With Quote
Old 2023-06-12, 09:50   #4
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

22·3·401 Posts
Default

Quote:
Originally Posted by PWD View Post
I already have this package installed. Its compiling all the files remaining files but but when it comes to this source file 'precomputed.c', this is where its showing the error.

I am using clang compiler

Raspbian clang version 11.0.1-2+rpi1
Target: armv6k-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
The package manager installs pari-gp and other things. There should be no need to compile.The program gp will workhw.

Where on https://pari.math.u-bordeaux.fr/packages.html is it failing for you?

Last fiddled with by paulunderwood on 2023-06-12 at 14:18
paulunderwood is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling version 30.8b15 on Arch Linux graysky Software 2 2022-09-24 18:19
Error compiling 29.7b1 on Arch Linux graysky Software 4 2019-04-13 10:16
Error compiling version 29.1 on Arch Linux graysky Software 5 2017-03-22 18:20
Error compiling msieve Wishper Msieve 2 2009-12-09 01:31
error compiling ecmnet 2.7.1 antiroach GMP-ECM 2 2006-03-01 01:17

All times are UTC. The time now is 22:43.


Sun Oct 1 22:43:06 UTC 2023 up 18 days, 20:25, 0 users, load averages: 1.05, 1.07, 0.94

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔