LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-03-2017, 10:52 AM   #1
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Rep: Reputation: 125Reputation: 125
Building MAME on Raspberry Pi 3


I believe that I have compiled MAME in the past, but for whatever reason, it doesn't want to build any more. Normally, I can troubleshoot the errors, but this one is not giving me much to work with. I'm posting it here in the hopes that it may make sense to someone else. I've dug around Google and have come up empty handed.

Here's the code:
Code:
...
rm -f  ../../../../../scripts/mame_mame/libatari.a
ar  -rcs ../../../../../scripts/mame_mame/libatari.a obj/Release/src/mame/audio/asteroid.o obj/Release/src/mame/audio/atarifb.o obj/Release/src/mame/audio/atarijsa.o obj/Release/src/mame/audio/avalnche.o obj/Release/src/mame/audio/bsktball.o obj/Release/src/mame/audio/bwidow.o obj/Release/src/mame/audio/bzone.o obj/Release/src/mame/audio/cage.o obj/Release/src/mame/audio/canyon.o obj/Release/src/mame/audio/copsnrob.o obj/Release/src/mame/audio/cyberbal.o obj/Release/src/mame/audio/dragrace.o obj/Release/src/mame/audio/firetrk.o obj/Release/src/mame/audio/harddriv.o obj/Release/src/mame/audio/jaguar.o obj/Release/src/mame/audio/jedi.o obj/Release/src/mame/audio/llander.o obj/Release/src/mame/audio/lynx.o obj/Release/src/mame/audio/nitedrvr.o obj/Release/src/mame/audio/orbit.o obj/Release/src/mame/audio/poolshrk.o obj/Release/src/mame/audio/redbaron.o obj/Release/src/mame/audio/skydiver.o obj/Release/src/mame/audio/skyraid.o obj/Release/src/mame/audio/sprint2.o obj/Release/src/mame/audio/sprint4.o obj/Release/src/mame/audio/sprint8.o obj/Release/src/mame/audio/starshp1.o obj/Release/src/mame/audio/starwars.o obj/Release/src/mame/audio/subs.o obj/Release/src/mame/audio/tank8.o obj/Release/src/mame/audio/triplhnt.o obj/Release/src/mame/audio/videopin.o obj/Release/src/mame/drivers/a2600.o obj/Release/src/mame/drivers/a7800.o obj/Release/src/mame/drivers/arcadecl.o obj/Release/src/mame/drivers/asteroid.o obj/Release/src/mame/drivers/atari400.o obj/Release/src/mame/drivers/atarifb.o obj/Release/src/mame/drivers/atarig1.o obj/Release/src/mame/drivers/atarig42.o obj/Release/src/mame/drivers/atarigt.o obj/Release/src/mame/drivers/atarigx2.o obj/Release/src/mame/drivers/atarist.o obj/Release/src/mame/drivers/atarisy1.o obj/Release/src/mame/drivers/atarisy2.o obj/Release/src/mame/drivers/atarisy4.o obj/Release/src/mame/drivers/atarittl.o obj/Release/src/mame/drivers/atetris.o obj/Release/src/mame/drivers/avalnche.o obj/Release/src/mame/drivers/badlands.o obj/Release/src/mame/drivers/bartop52.o obj/Release/src/mame/drivers/batman.o obj/Release/src/mame/drivers/beathead.o obj/Release/src/mame/drivers/blstroid.o obj/Release/src/mame/drivers/boxer.o obj/Release/src/mame/drivers/bsktball.o obj/Release/src/mame/drivers/bwidow.o obj/Release/src/mame/drivers/bzone.o obj/Release/src/mame/drivers/canyon.o obj/Release/src/mame/drivers/cball.o obj/Release/src/mame/drivers/ccastles.o obj/Release/src/mame/drivers/centiped.o obj/Release/src/mame/drivers/cloak.o obj/Release/src/mame/drivers/cloud9.o obj/Release/src/mame/drivers/cmmb.o obj/Release/src/mame/drivers/cops.o obj/Release/src/mame/drivers/copsnrob.o obj/Release/src/mame/drivers/cyberbal.o obj/Release/src/mame/drivers/destroyr.o obj/Release/src/mame/drivers/dragrace.o obj/Release/src/mame/drivers/eprom.o obj/Release/src/mame/drivers/firefox.o obj/Release/src/mame/drivers/firetrk.o obj/Release/src/mame/drivers/flyball.o obj/Release/src/mame/drivers/foodf.o obj/Release/src/mame/drivers/gauntlet.o obj/Release/src/mame/drivers/harddriv.o obj/Release/src/mame/drivers/irobot.o obj/Release/src/mame/drivers/jaguar.o obj/Release/src/mame/drivers/jedi.o obj/Release/src/mame/drivers/klax.o obj/Release/src/mame/drivers/liberatr.o obj/Release/src/mame/drivers/lynx.o obj/Release/src/mame/drivers/mediagx.o obj/Release/src/mame/drivers/metalmx.o obj/Release/src/mame/drivers/mgolf.o obj/Release/src/mame/drivers/mhavoc.o obj/Release/src/mame/drivers/missile.o obj/Release/src/mame/drivers/nitedrvr.o obj/Release/src/mame/drivers/offtwall.o obj/Release/src/mame/drivers/orbit.o obj/Release/src/mame/drivers/pofo.o obj/Release/src/mame/drivers/pong.o obj/Release/src/mame/drivers/poolshrk.o obj/Release/src/mame/drivers/quantum.o obj/Release/src/mame/drivers/quizshow.o obj/Release/src/mame/drivers/rampart.o obj/Release/src/mame/drivers/relief.o obj/Release/src/mame/drivers/runaway.o obj/Release/src/mame/drivers/sbrkout.o obj/Release/src/mame/drivers/shuuz.o obj/Release/src/mame/drivers/skullxbo.o obj/Release/src/mame/drivers/skydiver.o obj/Release/src/mame/drivers/skyraid.o obj/Release/src/mame/drivers/sprint2.o obj/Release/src/mame/drivers/sprint4.o obj/Release/src/mame/drivers/sprint8.o obj/Release/src/mame/drivers/starshp1.o obj/Release/src/mame/drivers/starwars.o obj/Release/src/mame/drivers/subs.o obj/Release/src/mame/drivers/tank8.o obj/Release/src/mame/drivers/tempest.o obj/Release/src/mame/drivers/thunderj.o obj/Release/src/mame/drivers/tomcat.o obj/Release/src/mame/drivers/toobin.o obj/Release/src/mame/drivers/tourtabl.o obj/Release/src/mame/drivers/triplhnt.o obj/Release/src/mame/drivers/tunhunt.o obj/Release/src/mame/drivers/ultratnk.o obj/Release/src/mame/drivers/videopin.o obj/Release/src/mame/drivers/vindictr.o obj/Release/src/mame/drivers/wolfpack.o obj/Release/src/mame/drivers/xybots.o obj/Release/src/mame/machine/asic65.o obj/Release/src/mame/machine/asteroid.o obj/Release/src/mame/machine/atari_vg.o obj/Release/src/mame/machine/atarifb.o obj/Release/src/mame/machine/atarifdc.o obj/Release/src/mame/machine/atarigen.o obj/Release/src/mame/machine/atarixga.o obj/Release/src/mame/machine/bsktball.o obj/Release/src/mame/machine/harddriv.o obj/Release/src/mame/machine/irobot.o obj/Release/src/mame/machine/lynx.o obj/Release/src/mame/machine/mathbox.o obj/Release/src/mame/machine/mhavoc.o obj/Release/src/mame/machine/nitedrvr.o obj/Release/src/mame/machine/nl_breakout.o obj/Release/src/mame/machine/nl_pong.o obj/Release/src/mame/machine/nl_pongd.o obj/Release/src/mame/machine/nl_stuntcyc.o obj/Release/src/mame/machine/slapstic.o obj/Release/src/mame/machine/starwars.o obj/Release/src/mame/machine/subs.o obj/Release/src/mame/video/arcadecl.o obj/Release/src/mame/video/atarifb.o obj/Release/src/mame/video/atarig1.o obj/Release/src/mame/video/atarig42.o obj/Release/src/mame/video/atarigt.o obj/Release/src/mame/video/atarigx2.o obj/Release/src/mame/video/atarimo.o obj/Release/src/mame/video/atarirle.o obj/Release/src/mame/video/atarist.o obj/Release/src/mame/video/atarisy1.o obj/Release/src/mame/video/atarisy2.o obj/Release/src/mame/video/atetris.o obj/Release/src/mame/video/badlands.o obj/Release/src/mame/video/batman.o obj/Release/src/mame/video/beathead.o obj/Release/src/mame/video/blstroid.o obj/Release/src/mame/video/bsktball.o obj/Release/src/mame/video/canyon.o obj/Release/src/mame/video/ccastles.o obj/Release/src/mame/video/centiped.o obj/Release/src/mame/video/cloak.o obj/Release/src/mame/video/cloud9.o obj/Release/src/mame/video/copsnrob.o obj/Release/src/mame/video/cyberbal.o obj/Release/src/mame/video/dragrace.o obj/Release/src/mame/video/eprom.o obj/Release/src/mame/video/firetrk.o obj/Release/src/mame/video/foodf.o obj/Release/src/mame/video/gauntlet.o obj/Release/src/mame/video/harddriv.o obj/Release/src/mame/video/irobot.o obj/Release/src/mame/video/jaguar.o obj/Release/src/mame/video/jedi.o obj/Release/src/mame/video/klax.o obj/Release/src/mame/video/liberatr.o obj/Release/src/mame/video/maria.o obj/Release/src/mame/video/nitedrvr.o obj/Release/src/mame/video/offtwall.o obj/Release/src/mame/video/orbit.o obj/Release/src/mame/video/poolshrk.o obj/Release/src/mame/video/rampart.o obj/Release/src/mame/video/relief.o obj/Release/src/mame/video/runaway.o obj/Release/src/mame/video/shuuz.o obj/Release/src/mame/video/skullxbo.o obj/Release/src/mame/video/skydiver.o obj/Release/src/mame/video/skyraid.o obj/Release/src/mame/video/sprint2.o obj/Release/src/mame/video/sprint4.o obj/Release/src/mame/video/sprint8.o obj/Release/src/mame/video/starshp1.o obj/Release/src/mame/video/subs.o obj/Release/src/mame/video/tank8.o obj/Release/src/mame/video/thunderj.o obj/Release/src/mame/video/tia.o obj/Release/src/mame/video/toobin.o obj/Release/src/mame/video/triplhnt.o obj/Release/src/mame/video/tunhunt.o obj/Release/src/mame/video/ultratnk.o obj/Release/src/mame/video/videopin.o obj/Release/src/mame/video/vindictr.o obj/Release/src/mame/video/wolfpack.o obj/Release/src/mame/video/xybots.o 
make[1]: Leaving directory '/tmp/SBo/mame-mame0191/build/projects/sdl/mame/gmake-linux'
make: *** [makefile:1254: linux] Error 2
Any help would be greatly appreciated!
 
Old 11-03-2017, 11:08 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Quote:
Originally Posted by stormtracknole View Post
I believe that I have compiled MAME in the past, but for whatever reason, it doesn't want to build any more. Normally, I can troubleshoot the errors, but this one is not giving me much to work with. I'm posting it here in the hopes that it may make sense to someone else. I've dug around Google and have come up empty handed.

Here's the code:
Code:
...
rm -f  ../../../../../scripts/mame_mame/libatari.a
ar  -rcs ../../../../../scripts/mame_mame/libatari.a obj/Release/src/mame/audio/asteroid.o obj/Release/src/mame/audio/atarifb.o obj/Release/src/mame/audio/atarijsa.o obj/Release/src/mame/audio/avalnche.o obj/Release/src/mame/audio/bsktball.o obj/Release/src/mame/audio/bwidow.o obj/Release/src/mame/audio/bzone.o obj/Release/src/mame/audio/cage.o obj/Release/src/mame/audio/canyon.o obj/Release/src/mame/audio/copsnrob.o obj/Release/src/mame/audio/cyberbal.o obj/Release/src/mame/audio/dragrace.o obj/Release/src/mame/audio/firetrk.o obj/Release/src/mame/audio/harddriv.o obj/Release/src/mame/audio/jaguar.o obj/Release/src/mame/audio/jedi.o obj/Release/src/mame/audio/llander.o obj/Release/src/mame/audio/lynx.o obj/Release/src/mame/audio/nitedrvr.o obj/Release/src/mame/audio/orbit.o obj/Release/src/mame/audio/poolshrk.o obj/Release/src/mame/audio/redbaron.o obj/Release/src/mame/audio/skydiver.o obj/Release/src/mame/audio/skyraid.o obj/Release/src/mame/audio/sprint2.o obj/Release/src/mame/audio/sprint4.o obj/Release/src/mame/audio/sprint8.o obj/Release/src/mame/audio/starshp1.o obj/Release/src/mame/audio/starwars.o obj/Release/src/mame/audio/subs.o obj/Release/src/mame/audio/tank8.o obj/Release/src/mame/audio/triplhnt.o obj/Release/src/mame/audio/videopin.o obj/Release/src/mame/drivers/a2600.o obj/Release/src/mame/drivers/a7800.o obj/Release/src/mame/drivers/arcadecl.o obj/Release/src/mame/drivers/asteroid.o obj/Release/src/mame/drivers/atari400.o obj/Release/src/mame/drivers/atarifb.o obj/Release/src/mame/drivers/atarig1.o obj/Release/src/mame/drivers/atarig42.o obj/Release/src/mame/drivers/atarigt.o obj/Release/src/mame/drivers/atarigx2.o obj/Release/src/mame/drivers/atarist.o obj/Release/src/mame/drivers/atarisy1.o obj/Release/src/mame/drivers/atarisy2.o obj/Release/src/mame/drivers/atarisy4.o obj/Release/src/mame/drivers/atarittl.o obj/Release/src/mame/drivers/atetris.o obj/Release/src/mame/drivers/avalnche.o obj/Release/src/mame/drivers/badlands.o obj/Release/src/mame/drivers/bartop52.o obj/Release/src/mame/drivers/batman.o obj/Release/src/mame/drivers/beathead.o obj/Release/src/mame/drivers/blstroid.o obj/Release/src/mame/drivers/boxer.o obj/Release/src/mame/drivers/bsktball.o obj/Release/src/mame/drivers/bwidow.o obj/Release/src/mame/drivers/bzone.o obj/Release/src/mame/drivers/canyon.o obj/Release/src/mame/drivers/cball.o obj/Release/src/mame/drivers/ccastles.o obj/Release/src/mame/drivers/centiped.o obj/Release/src/mame/drivers/cloak.o obj/Release/src/mame/drivers/cloud9.o obj/Release/src/mame/drivers/cmmb.o obj/Release/src/mame/drivers/cops.o obj/Release/src/mame/drivers/copsnrob.o obj/Release/src/mame/drivers/cyberbal.o obj/Release/src/mame/drivers/destroyr.o obj/Release/src/mame/drivers/dragrace.o obj/Release/src/mame/drivers/eprom.o obj/Release/src/mame/drivers/firefox.o obj/Release/src/mame/drivers/firetrk.o obj/Release/src/mame/drivers/flyball.o obj/Release/src/mame/drivers/foodf.o obj/Release/src/mame/drivers/gauntlet.o obj/Release/src/mame/drivers/harddriv.o obj/Release/src/mame/drivers/irobot.o obj/Release/src/mame/drivers/jaguar.o obj/Release/src/mame/drivers/jedi.o obj/Release/src/mame/drivers/klax.o obj/Release/src/mame/drivers/liberatr.o obj/Release/src/mame/drivers/lynx.o obj/Release/src/mame/drivers/mediagx.o obj/Release/src/mame/drivers/metalmx.o obj/Release/src/mame/drivers/mgolf.o obj/Release/src/mame/drivers/mhavoc.o obj/Release/src/mame/drivers/missile.o obj/Release/src/mame/drivers/nitedrvr.o obj/Release/src/mame/drivers/offtwall.o obj/Release/src/mame/drivers/orbit.o obj/Release/src/mame/drivers/pofo.o obj/Release/src/mame/drivers/pong.o obj/Release/src/mame/drivers/poolshrk.o obj/Release/src/mame/drivers/quantum.o obj/Release/src/mame/drivers/quizshow.o obj/Release/src/mame/drivers/rampart.o obj/Release/src/mame/drivers/relief.o obj/Release/src/mame/drivers/runaway.o obj/Release/src/mame/drivers/sbrkout.o obj/Release/src/mame/drivers/shuuz.o obj/Release/src/mame/drivers/skullxbo.o obj/Release/src/mame/drivers/skydiver.o obj/Release/src/mame/drivers/skyraid.o obj/Release/src/mame/drivers/sprint2.o obj/Release/src/mame/drivers/sprint4.o obj/Release/src/mame/drivers/sprint8.o obj/Release/src/mame/drivers/starshp1.o obj/Release/src/mame/drivers/starwars.o obj/Release/src/mame/drivers/subs.o obj/Release/src/mame/drivers/tank8.o obj/Release/src/mame/drivers/tempest.o obj/Release/src/mame/drivers/thunderj.o obj/Release/src/mame/drivers/tomcat.o obj/Release/src/mame/drivers/toobin.o obj/Release/src/mame/drivers/tourtabl.o obj/Release/src/mame/drivers/triplhnt.o obj/Release/src/mame/drivers/tunhunt.o obj/Release/src/mame/drivers/ultratnk.o obj/Release/src/mame/drivers/videopin.o obj/Release/src/mame/drivers/vindictr.o obj/Release/src/mame/drivers/wolfpack.o obj/Release/src/mame/drivers/xybots.o obj/Release/src/mame/machine/asic65.o obj/Release/src/mame/machine/asteroid.o obj/Release/src/mame/machine/atari_vg.o obj/Release/src/mame/machine/atarifb.o obj/Release/src/mame/machine/atarifdc.o obj/Release/src/mame/machine/atarigen.o obj/Release/src/mame/machine/atarixga.o obj/Release/src/mame/machine/bsktball.o obj/Release/src/mame/machine/harddriv.o obj/Release/src/mame/machine/irobot.o obj/Release/src/mame/machine/lynx.o obj/Release/src/mame/machine/mathbox.o obj/Release/src/mame/machine/mhavoc.o obj/Release/src/mame/machine/nitedrvr.o obj/Release/src/mame/machine/nl_breakout.o obj/Release/src/mame/machine/nl_pong.o obj/Release/src/mame/machine/nl_pongd.o obj/Release/src/mame/machine/nl_stuntcyc.o obj/Release/src/mame/machine/slapstic.o obj/Release/src/mame/machine/starwars.o obj/Release/src/mame/machine/subs.o obj/Release/src/mame/video/arcadecl.o obj/Release/src/mame/video/atarifb.o obj/Release/src/mame/video/atarig1.o obj/Release/src/mame/video/atarig42.o obj/Release/src/mame/video/atarigt.o obj/Release/src/mame/video/atarigx2.o obj/Release/src/mame/video/atarimo.o obj/Release/src/mame/video/atarirle.o obj/Release/src/mame/video/atarist.o obj/Release/src/mame/video/atarisy1.o obj/Release/src/mame/video/atarisy2.o obj/Release/src/mame/video/atetris.o obj/Release/src/mame/video/badlands.o obj/Release/src/mame/video/batman.o obj/Release/src/mame/video/beathead.o obj/Release/src/mame/video/blstroid.o obj/Release/src/mame/video/bsktball.o obj/Release/src/mame/video/canyon.o obj/Release/src/mame/video/ccastles.o obj/Release/src/mame/video/centiped.o obj/Release/src/mame/video/cloak.o obj/Release/src/mame/video/cloud9.o obj/Release/src/mame/video/copsnrob.o obj/Release/src/mame/video/cyberbal.o obj/Release/src/mame/video/dragrace.o obj/Release/src/mame/video/eprom.o obj/Release/src/mame/video/firetrk.o obj/Release/src/mame/video/foodf.o obj/Release/src/mame/video/gauntlet.o obj/Release/src/mame/video/harddriv.o obj/Release/src/mame/video/irobot.o obj/Release/src/mame/video/jaguar.o obj/Release/src/mame/video/jedi.o obj/Release/src/mame/video/klax.o obj/Release/src/mame/video/liberatr.o obj/Release/src/mame/video/maria.o obj/Release/src/mame/video/nitedrvr.o obj/Release/src/mame/video/offtwall.o obj/Release/src/mame/video/orbit.o obj/Release/src/mame/video/poolshrk.o obj/Release/src/mame/video/rampart.o obj/Release/src/mame/video/relief.o obj/Release/src/mame/video/runaway.o obj/Release/src/mame/video/shuuz.o obj/Release/src/mame/video/skullxbo.o obj/Release/src/mame/video/skydiver.o obj/Release/src/mame/video/skyraid.o obj/Release/src/mame/video/sprint2.o obj/Release/src/mame/video/sprint4.o obj/Release/src/mame/video/sprint8.o obj/Release/src/mame/video/starshp1.o obj/Release/src/mame/video/subs.o obj/Release/src/mame/video/tank8.o obj/Release/src/mame/video/thunderj.o obj/Release/src/mame/video/tia.o obj/Release/src/mame/video/toobin.o obj/Release/src/mame/video/triplhnt.o obj/Release/src/mame/video/tunhunt.o obj/Release/src/mame/video/ultratnk.o obj/Release/src/mame/video/videopin.o obj/Release/src/mame/video/vindictr.o obj/Release/src/mame/video/wolfpack.o obj/Release/src/mame/video/xybots.o 
make[1]: Leaving directory '/tmp/SBo/mame-mame0191/build/projects/sdl/mame/gmake-linux'
make: *** [makefile:1254: linux] Error 2
Any help would be greatly appreciated!
There's no error in there -- the error will be much further up the log file.
 
Old 11-03-2017, 11:17 AM   #3
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by drmozes View Post
There's no error in there -- the error will be much further up the log file.
Ah! That's why it was perplexing. I dug around and found the error. I must have not scrolled back enough.

Code:
/usr/bin/g++    -MMD -MP -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_DLL -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I../../../../../src/osd -I../../../../../src/emu -I../../../../../
src/devices -I../../../../../src/mame -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../src/lib/netlist -I../../../../../3rdparty -I../../../../generated/mame/layout -I../../../../../scripts 
-I../../../../generated/mess/layout   -pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion
 -Wno-unused-result -Wno-array-bounds -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -flifetime-dse=1 -include obj/Release/emu.h -o "obj/Release/src/mame/machine/nl_pongd.o" -c "../../..
/../../src/mame/machine/nl_pongd.cpp"
{standard input}: Assembler messages:
{standard input}:1517: Warning: end of file not at end of a line; newline inserted
{standard input}:1557: Error: ARM register expected -- `mov r'
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [barcrest.make:473: obj/Release/src/mame/drivers/mpu4sw.o] Error 4
make[1]: *** [Makefile:112: barcrest] Error 2
 
Old 11-03-2017, 12:27 PM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
What version of the compiler is it?
 
Old 11-03-2017, 12:28 PM   #5
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by drmozes View Post
What version of the compiler is it?
The latest gcc that is on -current (7.2.0).
 
Old 11-03-2017, 01:10 PM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Quote:
Originally Posted by stormtracknole View Post
The latest gcc that is on -current (7.2.0).
If you built it on -current with gcc 7 before, then an update to gcc might have broken it.
We're several revisions behind the Debian patch set that gets applied to our gcc package, since the newest one broke the cross compiler and I was hoping someone else would fix it ;-)
I've just patched it myself and next week I will push out the new gcc package after rebuilding the latest -current batch with it. I don't know if it'll help though!
 
Old 11-03-2017, 01:15 PM   #7
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by drmozes View Post
If you built it on -current with gcc 7 before, then an update to gcc might have broken it.
We're several revisions behind the Debian patch set that gets applied to our gcc package, since the newest one broke the cross compiler and I was hoping someone else would fix it ;-)
I've just patched it myself and next week I will push out the new gcc package after rebuilding the latest -current batch with it. I don't know if it'll help though!
I appreciate you looking into this. I'll take a stab at it again after you publish those. On a side note, what do you use to build the slackware arm packages? Are you using a cluster of raspberry pi boards?
 
Old 11-03-2017, 01:26 PM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Quote:
Originally Posted by stormtracknole View Post
On a side note, what do you use to build the slackware arm packages? Are you using a cluster of raspberry pi boards?
They're mostly built on one machine (an Orange Pi H3), which uses distcc to three x86_64 machines with the cross toolchain. Each batch of updates has (most of the time) each package built three times to try and resolve any inter dependencies between packages within a batch, therefore building any packages on separate machines is impractical unless they are atomic (like the Kernel - but even that's not always the case).
The build system is automated, so I just set it off and check the result afterwards (or during, if I happen to be around and curious).

For example, the last batch completed building already:
Code:
root@stokely:~# cat /tmp/r2b/status-current
First build began on..................: Fri Nov  3 09:14:07 GMT 2017
Time spent building since first build : 425 minutes / 7 hours / 0 days
Most recent package began building on : Fri Nov  3 16:19:37 GMT 2017

Success count...: 5 (83%) [ recently: n/openssl , l/gegl , l/expat , ap/mariadb , ap/cups ]
Build pass......: 3 of 3
Current activity:-
        Building package a/sysvinit-scripts [ 6 of 6 ]
*** Complete.

Last edited by drmozes; 11-03-2017 at 01:29 PM.
 
Old 11-03-2017, 08:48 PM   #9
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by drmozes View Post
They're mostly built on one machine (an Orange Pi H3), which uses distcc to three x86_64 machines with the cross toolchain. Each batch of updates has (most of the time) each package built three times to try and resolve any inter dependencies between packages within a batch, therefore building any packages on separate machines is impractical unless they are atomic (like the Kernel - but even that's not always the case).
The build system is automated, so I just set it off and check the result afterwards (or during, if I happen to be around and curious).

For example, the last batch completed building already:
Code:
root@stokely:~# cat /tmp/r2b/status-current
First build began on..................: Fri Nov  3 09:14:07 GMT 2017
Time spent building since first build : 425 minutes / 7 hours / 0 days
Most recent package began building on : Fri Nov  3 16:19:37 GMT 2017

Success count...: 5 (83%) [ recently: n/openssl , l/gegl , l/expat , ap/mariadb , ap/cups ]
Build pass......: 3 of 3
Current activity:-
        Building package a/sysvinit-scripts [ 6 of 6 ]
*** Complete.
Oh man, that's awesome. Did you follow a specific tutorial by any chance? I've been wanting to build a raspberry pi cluster, but have very little experience in setting up cross-compiling.
 
Old 11-03-2017, 08:55 PM   #10
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
I just found this on Amazon. I should be able to use the fatdog's sarpi image, correct?
 
Old 11-04-2017, 07:04 AM   #11
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Quote:
Originally Posted by stormtracknole View Post
Oh man, that's awesome. Did you follow a specific tutorial by any chance? I've been wanting to build a raspberry pi cluster, but have very little experience in setting up cross-compiling.
The build system I created myself. Setting up a cross toolchain was the result of lots of research and experimentation.
 
Old 11-04-2017, 07:29 AM   #12
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Quote:
Originally Posted by stormtracknole View Post
I just found this on Amazon. I should be able to use the fatdog's sarpi image, correct?
The SARPI image is for Raspberry Pi.
The Orange Pi is supported officially by Slackware ARM, but version 2 has not been tested - only v1.
The 2GB RAM would be good though - perhaps I'll look at v2 at some point, if the Kernel support is there.

Last edited by drmozes; 11-04-2017 at 08:08 AM.
 
Old 11-04-2017, 08:58 AM   #13
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by drmozes View Post
The SARPI image is for Raspberry Pi.
The Orange Pi is supported officially by Slackware ARM, but version 2 has not been tested - only v1.
The 2GB RAM would be good though - perhaps I'll look at v2 at some point, if the Kernel support is there.
I can give it a try. I'm going to purchase one this weekend. So, I can just create an install iso like I would for the x86* series?

In the link that I posted, I see a review from back in April of this year saying that the board was supported by Slackware. Once I get it, I'll report back. Thank you for taking time to explain things. I'm not as savvy when it comes to ARM devices.
 
Old 11-04-2017, 10:15 AM   #14
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 605

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Quote:
Originally Posted by stormtracknole View Post
I can give it a try. I'm going to purchase one this weekend. So, I can just create an install iso like I would for the x86* series?
Read the installation documentation within the root of the -current tree.

ftp://ftp.arm.slackware.com/slackwar...L_ORANGEPI.TXT

Quote:
In the link that I posted, I see a review from back in April of this year saying that the board was supported by Slackware. Once I get it, I'll report back. Thank you for taking time to explain things. I'm not as savvy when it comes to ARM devices.
OK well hopefully whoever said that has tested it, but just has not contributed back anything. There will be changes required to the installation settings since it's a newer revision of the board.
Presumably the DTB would be sun8i-h3-orangepi-plus2e
Other than that, you might be lucky -- it may work!

Last edited by drmozes; 11-04-2017 at 11:13 AM.
 
Old 11-04-2017, 05:02 PM   #15
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 969

Original Poster
Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by drmozes View Post
Read the installation documentation within the root of the -current tree.

ftp://ftp.arm.slackware.com/slackwar...L_ORANGEPI.TXT



OK well hopefully whoever said that has tested it, but just has not contributed back anything. There will be changes required to the installation settings since it's a newer revision of the board.
Presumably the DTB would be sun8i-h3-orangepi-plus2e
Other than that, you might be lucky -- it may work!
Hmm...that may make it a no go for me then. I don't have nearly as much time as I used to for tinkering around. Have you had experience with ODROID?
 
  


Reply

Tags
mame, raspberry pi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failures in libcc1 while building GCC 6.1.0 on Raspberry Pi tmose1106 Linux - Software 6 05-30-2016 10:42 AM
LXer: Building an Artificial Pancreas Using a Raspberry Pi LXer Syndicated Linux News 0 05-20-2016 08:33 PM
Building LFS on Raspberry Pi 2 kcirick Linux From Scratch 7 03-24-2016 09:40 AM
LXer: Move over, Raspberry Pi. This startup is building a $9 computer LXer Syndicated Linux News 1 05-11-2015 12:06 AM
Error Building Raspberry Pi markjuggles Linux - Embedded & Single-board computer 8 12-07-2011 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration