LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-20-2020, 05:00 AM   #1
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Rep: Reputation: 22
Searching gcc-go-8.1.1-arm-1


Hi all,
I'm searching the package ( txz ) file for gcc-go for arm, in the version 8.1.1
I'm not well sure why in my installation ( sarpi 14.2 ) __NOT__ upgraded to current the installed gcc is 8.1.1.
Actually I would not upgrade to current that implies quite a bit of downtime to get all running.

So I'm asking if someone has the gcc-go version as in subject, or eventually some slackbuild for it.

Any chance to find it ?

Thanks in advance

Pierluigi
 
Old 02-20-2020, 09:21 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by Pigi_102 View Post
Hi all,
I'm searching the package ( txz ) file for gcc-go for arm, in the version 8.1.1
I'm not well sure why in my installation ( sarpi 14.2 ) __NOT__ upgraded to current the installed gcc is 8.1.1.
Actually I would not upgrade to current that implies quite a bit of downtime to get all running.

So I'm asking if someone has the gcc-go version as in subject, or eventually some slackbuild for it.

Any chance to find it ?

Thanks in advance

Pierluigi
Slackware ARM 14.2 has gcc 5.5.0. There are no newer versions of that package available for this release of the distribution.
You cannot put packages from -current onto a Slackware ARM 14.2 installation - they are incompatible entirely.

Slackware ARM -current currently has gcc 9.2.0. Any older packages are not available unless someone happens to have an older version of it that they can share with you; but you'd be better to update if you are actually running -current (which you say you aren't).
 
Old 02-20-2020, 09:40 AM   #3
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
Thanks for your reply, drmozes.

I know 14.2 and -current are incompatibles but...

Code:
root@casa:~# cat /etc/slackware-version 
Slackware 14.2
and packages in /var/adm/packages are dated 01 01 1970 ( which is the classical date of an installation done without an internet access to set the date) and so are all the others, thus IMHO this has been a single phase install.

Code:
root@casa:~# ls -l /var/adm/packages/gcc*
-rw-r--r-- 1 root root 43449 Jan  1  1970 /var/adm/packages/gcc-8.1.1-arm-1
-rw-r--r-- 1 root root 42761 Jan  1  1970 /var/adm/packages/gcc-g++-8.1.1-arm-1
-rw-r--r-- 1 root root  2195 Jan  1  1970 /var/adm/packages/gcc-objc-8.1.1-arm-1
-rw-r--r-- 1 root root   780 Jan  1  1970 /var/adm/packages/gccmakedep-1.0.3-arm-2
as are all other packages.

I can't really understand what's happened and I think I will go -current as I need golang.

What I was asking infact was if someone has an old rsync mirror or similar, to avoid the huge impact of an update to the -current ( old slackware user, here ) or even worse a gcc recompile that on a raspberry PI3 will probably takes forever.

Unfortunally ( or luckily ? ) I've customized so much stuff around that a reinstall is not desiderable, nor possible

Thanks for your time in any case.

Pierluigi
 
Old 02-20-2020, 09:54 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by Pigi_102 View Post
Thanks for your reply, drmozes.


Code:
root@casa:~# cat /etc/slackware-version 
Slackware 14.2
-current has a '+' to indicate it's no longer the previous stable release.


Code:
root@zippy:~# cat /etc//slackware-version
Slackware 14.2+
As yours does not have this, your system seems to be messed up. I don't know if you've installed the 'aaa_base' package from -current onto 14.2 or something else.

Code:
root@zippy:~# readelf -h /bin/bash|grep float
  Flags:                             0x5000400, Version5 EABI, hard-float ABI
Run that on your machine: if it does not say 'hard-float', it is 14.2.


Quote:
I can't really understand what's happened and I think I will go -current as I need golang.

What I was asking infact was if someone has an old rsync mirror or similar, to avoid the huge impact of an update to the -current ( old slackware user, here ) or even worse a gcc recompile that on a raspberry PI3 will probably takes forever.

Unfortunally ( or luckily ? ) I've customized so much stuff around that a reinstall is not desiderable, nor possible
You cannot do an inplace update to -current: it's a full reformat, reinstall.
And since there was never a gcc-8 package for 14.2, nobody will have one.
If you're running 14.2 then that gcc-8 package is from -current quite some time ago, and won't work.

The first thing you need to do is figure out what version of the OS you're running by running the command above.

Last edited by drmozes; 02-20-2020 at 09:56 AM.
 
Old 02-20-2020, 11:43 AM   #5
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
Code:
root@casa:~# readelf -h /bin/bash|grep float
  Flags:                             0x5000400, Version5 EABI, hard-float ABI
Seems I'm on current, isn't it ?

I've read a lot from several thread about HF or SF, and according with this last command is definitivelly an HF, which indeed say that is a -current.

Also glibc is a 2.27 which wasn't in 14.2 but was in current ( on 2018, somewhere around july ) so my guess is that slackware-release is wrong.

In any case I'm backing up my sd card an will try a slackpkg update/install-new/upgrade-all/clean-system cycle ( if the ext3 for backup works ) and let you know

Sometime luck is on our side
 
Old 02-20-2020, 11:52 AM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by Pigi_102 View Post
Code:
root@casa:~# readelf -h /bin/bash|grep float
  Flags:                             0x5000400, Version5 EABI, hard-float ABI
Seems I'm on current, isn't it ?

I've read a lot from several thread about HF or SF, and according with this last command is definitivelly an HF, which indeed say that is a -current.

Also glibc is a 2.27 which wasn't in 14.2 but was in current ( on 2018, somewhere around july ) so my guess is that slackware-release is wrong.

In any case I'm backing up my sd card an will try a slackpkg update/install-new/upgrade-all/clean-system cycle ( if the ext3 for backup works ) and let you know

Sometime luck is on our side
Yep - that looks good for an upgrade. I'd probably reinstall from scratch though - it's might be faster depending on how much stuff you'd have to migrate to the new system. When I was a sysadmin I always kept a map of each server/server type, so I knew which configs/dirs to bring over to an upgraded system; and any software packages I'd build Slackware packages for, and let pkgtools take care of that.

Good luck! :-)
 
Old 02-22-2020, 05:32 AM   #7
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
I have successfully upated to latest -current and so I can use the gcc-go from there.

Thanks Stuart !


Pigi
 
  


Reply



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
LXer: Stop searching for projects and start searching for bugs LXer Syndicated Linux News 1 11-07-2016 05:22 PM
difference b/w arm-iwmmxt-linux-gnueabi-gcc & arm-linux-gcc ravi_shanker Linux - Software 1 09-12-2011 10:30 AM
[SOLVED] Searching and searching... limdel LQ Suggestions & Feedback 2 06-24-2009 02:03 AM
Compile the linux2.6.14.1 for arm must ues the arm-linux-gcc-3.4.4? frankyue Linux - Embedded & Single-board computer 2 12-20-2008 07:28 AM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM

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

All times are GMT -5. The time now is 01:33 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
Open Source Consulting | Domain Registration