LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2015, 01:13 PM   #61
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22

Quote:
Originally Posted by NoStressHQ View Post
PS/Edit: True that part of GCC fault (as with almost all compilers) is its "specific extended syntax". But it's not because something is available and CAN make sense on a target specific machine (embedded system) that everybody should use that, moreover when you doing open source intended to "last for long".
I didn't realize this was the case in GCC. I know commercial compilers are notorious for having extended stuff in it. So if you want portable code, you don't use that stuff. I guess using GCC's extended syntax is quite common then. Even one deprecated kernel module, speedstep-centrino, is apparently using GCC's extended syntax as it won't compile under Slackware 14.1 and 4.0.5 kernel.
 
Old 06-30-2015, 01:43 PM   #62
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by Arcosanti View Post
I didn't realize this was the case in GCC. I know commercial compilers are notorious for having extended stuff in it. So if you want portable code, you don't use that stuff. I guess using GCC's extended syntax is quite common then. Even one deprecated kernel module, speedstep-centrino, is apparently using GCC's extended syntax as it won't compile under Slackware 14.1 and 4.0.5 kernel.
https://gcc.gnu.org/onlinedocs/gcc-5...l#C-Extensions
Linux kernel developer like some of them, that's way clang did not work out of the box, while standard complaint code does

c++ has also some extensiosn
https://gcc.gnu.org/onlinedocs/gcc-5...02b-Extensions

of course msvc does also a lot of non standard stuff that's why it is sometime so hard to port windows code to Linux, even if there is no special hardware thing involved


ad your speedstep-centrino, I am not sure that really the extensions are the reason, could be it used internal kenrelstuff that has changes, because usually gcc is very consistent
 
Old 07-01-2015, 04:42 PM   #63
oui
Member
 
Registered: May 2007
Location: germany
Distribution: DebianSID, SliTaz, Kuliax, PuppyLinux
Posts: 36

Rep: Reputation: 0
Im am very surprising by all above declarations...

There are different distributions being able to be self compiled from A .. Z. And beeing distributed as well 32 as 64 bit in all forms: binaries as well as sources to compile and only to do that! For me, Slackware was know as THE probably main sources supplyers yet at the time were not already present! Divers distributions are proud to say that they are derivates of Slackware! someone includes Slack in only minimal changed form to show that in the own distributions name! And Slackware did a long time help other to easily accede to Linux (for ex. within an IBM-DOS-system!).

If I understand now what I read above, were Slackware only a polluter of the environment as Slackware did sollicitate the user to burn absolutely not needed CD landing never used to domestic garbage! It can not be true...

Please read this actual message on the forum of an other distribution distributed to install through 3 different ways

- compiling all an not necessary using the own distribution entirely from sources: only bash has to be absolutely the same, some options of bash are tricky, in some kind of computer aided compilation / half automatic compilation

- installing a base in a chroot starting in an existent linux (same condition concerning bash)

- installing using with a mini-ISO (about the same as the base for those not having the chance to offer an adequate bash) from Web and binaries from the site

claming now:

Quote:
Being now the only maintainer of NuTyX from A to Z, I decided to keep only the vital minimum number of packages. These are the packages that I use every day.

GUI:

- twm
-Xfce

applications:

- LibreOffice
- firefox
- thunderbird
- vLC
- abiword
- gftp
- ...

You can find them on http://downloads.nutyx.org/saravane/x86_64
Yes, you are reading right: ONE mann produces since years one as complete distribution (a second mann did elaborate the binaries for the more or less complete KDE), often alone ...

... and you advise against attempting to do only a small part of the same work seriously?
 
Old 07-01-2015, 05:32 PM   #64
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
@oui:

I fail to understand what your post brings to the discussion.

Let's remind the conclusions so far:
  • Technically it is possible to build Slackware from scratch. This has already been done.
  • Doing that for each incoming stable release is something that the Slackware team doesn't intend to do, because that has no clear benefit that would worth the time needed.
Furthermore your comparison with saravane is not convincing at all.
  • You just copied a post you have found here
  • But actually the distribution came from LFS and BLFS with the help of a team as stated there.
  • The maintainer, tnut, doesn't claim to rebuild everything from scratch as far as I know.
Quote:
...and you advise against attempting to do only a small part of the same work seriously?
Not at all. On the contrary many of us thanked and congratulated nobodino.

So, what is your point?

Last edited by Didier Spaier; 07-01-2015 at 06:00 PM.
 
2 members found this post helpful.
Old 07-01-2015, 08:51 PM   #65
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22
Quote:
Originally Posted by a4z View Post
sorry but this is nonsense
the stability of C/C++ is example given (and might lead soon to situations that a compiler will provide 2 ABIs, just for compatibility)
standard complaint code that you have written 20 years ago will still compile and run
not to much other languages offers this
I just compiled some old serial port radio control programs and they both work. The programs are amfm from 2007 and pcfm from 1998. amfm works flawlessly while pcfm does work, but generates these error messages on the console:

Code:
 open: No such file or directory. ioctl write: Bad file descriptor.
Its possible that the errors are happening due to me running it in it's source directory rather than having it installed normally. pcfm also has a GUI frontend that is written in Tcl/Tk that works flawlessly. I did have to make some minor changes as it was looking for some old version of things. This does drive your point home.

Quote:
Originally Posted by a4z View Post
of course msvc does also a lot of non standard stuff that's why it is sometime so hard to port windows code to Linux, even if there is no special hardware thing involved
I was actually thinking of the old Borland C/C++ compilers for DOS. LOL.

Quote:
Originally Posted by a4z View Post
ad your speedstep-centrino, I am not sure that really the extensions are the reason, could be it used internal kenrelstuff that has changes, because usually gcc is very consistent
Could be. If I ever need it in Slackware 14.1, I'll look into it. For now I don't so I just removed it. The Laptop I use with Slackware 13.37 does need speedstep-centrino, so I'll just keep it at 13.37 for the time being.

As for the main discussion of this thread, I've considered compiling the whole Slackware source. So far I have only compiled certain things for various reasons. Maybe I'll do it sometime for the heck of it.
 
Old 07-01-2015, 09:35 PM   #66
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by Arcosanti View Post
I just compiled some old serial port radio control programs and they both work. The programs are amfm from 2007 and pcfm from 1998. amfm works flawlessly while pcfm does work, but generates these error messages on the console:

Code:
 open: No such file or directory. ioctl write: Bad file descriptor.
[...]
Just a quick, "mindless" answer, correct me if I miss the point but... Beware not to confuse C standard, GCC (compilers) extensions AND C standard library, which are 3 different things. Yes the cstdlib is tightly coupled with the compiler, but also tightly coupled with the target platform... And there are chances that the ioctl error is because of a bad standard library, not at all a "syntax" problem...

Cheers

Garry.
 
Old 07-02-2015, 12:29 AM   #67
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by Didier Spaier View Post
@oui:

  • Doing that for each incoming stable release is something that the Slackware team doesn't intend to do, because that has no clear benefit that would worth the time needed.
that the Slackware team doesn't intend to do it is obviously correct:

but I think the second part of your sentence is part of the discussion here, because for some of us of course it has some clear benefit to be able to rebuilt a distribution.

so I think the correct formulation could also be
(and this includes as many speculation as you have written)
Doing that for each incoming stable release is something that the Slackware team doesn't intend to do, because they keep on doing it the way they do it since ever, base on a time where compiling was an expensive job.

(this is no speculation)
So Slackware ships a distribution with binaries that are impossible to reproduce without going back in time.

(this is, not only, my opinion)
So basically Slackare ships source that can not be build to the binary it runs and this is clear buggy.
 
Old 07-02-2015, 09:51 AM   #68
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by a4z View Post
that the Slackware team doesn't intend to do it is obviously correct:

but I think the second part of your sentence is part of the discussion here, because for some of us of course it has some clear benefit to be able to rebuilt a distribution.
There is no contradiction. The Slackware team not rebuilding everything all the time does not prevent us from rebuilding everything if we so choose.

There is clear benefit to being able to build a bridge from scratch, but that doesn't mean we should tear down all bridges and rebuild them every weekend. It is better to keep known-good bridges intact, and build a new bridge only when needed.
 
1 members found this post helpful.
Old 07-02-2015, 10:28 AM   #69
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ttk View Post
There is no contradiction. The Slackware team not rebuilding everything all the time does not prevent us from rebuilding everything if we so choose.
ok, so what it the tc
I am sure you did understand what I was talking aobut and that and are just playing a troll

Quote:
Originally Posted by ttk View Post
There is clear benefit to being able to build a bridge from scratch, but that doesn't mean we should tear down all bridges and rebuild them every weekend. It is better to keep known-good bridges intact, and build a new bridge only when needed.
well, ok, welcome to the club of experts that try to bring an impropper Allegorie, now you show us that you did not understand what we where talking about, sory for thinking you are just a troll
 
Old 07-02-2015, 10:45 AM   #70
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
@a4z: I am sure that you can do better than just calling trolls people who disagree with you.

Also, as you have already stated your opinion many times I am afraid that posting it again won't significantly enhance our understanding of it.

Have a good day.

Last edited by Didier Spaier; 07-02-2015 at 11:15 AM.
 
1 members found this post helpful.
Old 07-02-2015, 11:31 AM   #71
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
@a4z: I understood what you were saying, but what you were saying was simply incorrect.

I understand you don't believe rebuilding packages introduces risk, but leaping from this to "Slackware devs avoid recompilations because once upon a time compiling was expensive, and they are stuck in their ways" is not a valid train of reasoning.
 
Old 07-02-2015, 12:11 PM   #72
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ttk View Post
@a4z: I understood what you were saying, but what you were saying was simply incorrect.

I understand you don't believe rebuilding packages introduces risk, but leaping from this to "Slackware devs avoid recompilations because once upon a time compiling was expensive, and they are stuck in their ways" is not a valid train of reasoning.
ok, you missed bringing a technical reasons for the advantage of the Slackware way which is not opinion based or brought with some non fitting story.
very possible simply because there is non, there is the habit to do so as it is and this is just as Slackware does it, without any advantages (but with the fact that some packages might be binary only and might not compile as they are shipped, which is at least one disadvantage that is provable)
that's it, not more and less, and every statement that comes without any prove but with stupid stories it trolling or showing hard core ignorance.
and sorry Didier, possible I could do better, but people that sell their opinions as fact and spread therefore rumors, what you btw also did, steal sometimes my nerves
 
Old 07-02-2015, 12:18 PM   #73
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Very disappointed again in one or two people here, because they mix their own beliefs with Slackware's way of doing things and decide that the distro should yield.

Once again. Slackware ships the source which was used to compile that package. No more and no less. Slackware is a "binary" distro, not a "source" distro. There is no requirement that the shipped sources must be able to recompile the package at any given time in future. It is a nice topic if you are looking for a hobby: recompile Slackware from scratch. But it has no relevance to the distro.
 
4 members found this post helpful.
Old 07-02-2015, 03:13 PM   #74
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Yes, Eric, we know, but everyone is entitled to have an opinion, and at least sharing ideas, even if they are against the grain, so to speak, can be intriguing, enlightening, and educational even to old farts like us who think we know everything. New ways of thinking may find better ways to meld into ways and means. Better to have ideas that are fluid than stagnant.
 
Old 07-02-2015, 03:22 PM   #75
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
New ways of thinking may find better ways to meld into ways and means.
So, building a distribution from scratch would be a new way of thinking? Eureka!

Thanks James, you made my late evening

PS I am listening the piano sonata D. 850 from Franz Schubert played by Alfred Brendel. I especially like the scherzo. In general I like the scherzos...

Last edited by Didier Spaier; 07-02-2015 at 03:27 PM.
 
  


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
[SOLVED] Building SQLite-3.8.8 on Slackware-14.1 rshepard Slackware 6 01-20-2015 06:12 PM
Building xbmc on Slackware 14 Woodsman Slackware 1 09-10-2012 10:10 PM
android building and Slackware {davros} Slackware 6 07-21-2011 01:46 AM
Cross-Building Slackware as a whole? gargamel Slackware - Installation 2 05-09-2004 06:31 PM
Building a Slackware PC Odin_of_Asgard Linux - Hardware 1 03-13-2004 11:01 AM

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

All times are GMT -5. The time now is 10:44 AM.

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