Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-12-2013, 03:29 PM
|
#226
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
here it is: I think this can be useful also for Eric's sources (I generated it over his git tree)...
Last edited by ponce; 05-12-2013 at 03:30 PM.
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
05-12-2013, 04:57 PM
|
#227
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Hi Ponce
I noticed that trick, it is used in Fedora's ncurses package too. But I do not understand what it does, and I do not apply stuff I can not rationally explain ;-) Is there documentation about the idea behind writing INPUT in a shared object file?
Eric
|
|
|
05-13-2013, 02:38 AM
|
#228
|
Member
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58
Rep:
|
Yes, thank you very much Ponce, this is very interesting stuff! I also wonder if it will defeat the purpose of splitting off libtinfo in the first place (i.e. producing smaller binaries). I'll look into this some more in the morning. Thanks for all your work on this!
Do you have a script or anything that produces the installer you built for slackwarearm? I might take a look at it and see if the size of the installer can be trimmed down a bit while still being functional
|
|
|
05-13-2013, 02:33 PM
|
#229
|
Member
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58
Rep:
|
Yeah, it looks like debian and fedora are both using these ld scripts as workarounds for ltinfo failing to link, and fedora is using "AS_NEEDED" -- I'm assuming to avoid overlinking ltinfo. This approach appears to break linking against ncurses with ld.gold, though I'm not aware of any packages in Slackware that are using the gold linker. The folks at Gentoo feel this is a hack and linking against ltinfo should be fixed in all of the packages individually. Based on what I've gleaned from some opensuse threads, they have patched ncurses (but I haven't find the specific patch yet) and have fixes for other packages on a case-by-case basis.
links:
https://patchwork.kernel.org/patch/2179341/
http://lists.opensuse.org/opensuse-p.../msg00106.html
some more info on rationale behind the libtinfo split-out:
https://enc.com.au/2011/09/30/ncurses-library-split/
Using ld scripts does feel a bit like an ad hoc solution rather than a permanent fix. My gut instinct is to retreat to the safety of upstream Slackware, and put libtinfo back in libncurses for the time being. That said, it sounds like the ncurses developers are heading more in the direction of splitting it out.
|
|
|
05-13-2013, 03:01 PM
|
#230
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
OpenSuse uses the same INPUT AS_NEEDED approach: https://build.opensuse.org/package/v...penSUSE%3A12.3
I agree that I may have to revert my decision to split out libtinfo. However that will not happen in my ARM port sources too soon, due to lack of time (a lot of recompiling is required when I revert that modification).
Eric
|
|
|
05-13-2013, 03:16 PM
|
#231
|
Member
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58
Rep:
|
Ahh, you're right - the info I was reading must have alluded to that fix rather than a patch to the ncurses sources, or they changed things subsequently. Dang, I had my hopes up for a patch lol.
I hear ya on the time involved to roll that back. For the time being, I think my approach will be to implement the AS_NEEDED approach in ncurses to retain compatibility with my existing packages that were compiled against split libraries while also avoiding lots of build failures for anyone who is trying to compile additional packages (or the kernel, in ponce's case). If/when you implement a change in your port, I'll adopt it and rebuild as necessary. I'd like to maintain as much compatibility with your source tree as possible.
|
|
|
05-13-2013, 03:19 PM
|
#232
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
I think the less harmful fix should be to link libtinfo directly in libncurses and libncursesw at ncurses compile time, but the build system doesn't allow this and I can't see -cause I'm noob- an easy way to patch it (besides the substitution of the .so link with a linker script): if you specify a LIBS=-ltinfo variable (or by LDFLAGS) then all the libraries that are built wants to link to that at compile time, libtinfo itself included, and this, besides going conceptually against the split, breaks the build because libtinfo gets truncated at linking time.
Last edited by ponce; 05-13-2013 at 03:31 PM.
|
|
|
05-13-2013, 04:29 PM
|
#233
|
Member
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58
Rep:
|
Quote:
Originally Posted by ponce
-cause I'm noob-
|
pfft. If you're a noob, I'm not sure what that makes me, but it must be pretty bad :P
I applied the changes to my local ncurses.SlackBuild, rebuilt it, and tested to verify that a package that previously required 'LDFLAGS="-ltinfo"' now builds fine with out it. I'll sync my local repo with the server tonight. Thanks again!
|
|
|
05-21-2013, 12:13 AM
|
#234
|
Member
Registered: Mar 2013
Location: Portugal
Distribution: Slackware
Posts: 98
Rep:
|
Any of you guys are going to try Parallella?
|
|
|
05-21-2013, 08:28 AM
|
#235
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
Ahau, I prepared a kernel (with bfq and aufs) on your platform (modified build scripts derived from David's ones are in the "sources" folder)
http://ponce.cc/slackware/testing/raspi-extras-armv6/
|
|
|
05-22-2013, 02:58 PM
|
#236
|
Member
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58
Rep:
|
Ponce, that is awesome, thank you so much! Do I have your permission to pull these files and sources into my tree?
I've been busy prepping stuff for Porteus 2.1 but will definitely be returning to add and update to slackwarearmv6
|
|
|
05-22-2013, 04:24 PM
|
#237
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
the original sources are of David Spencer, I just forked his stuff for the new kernels and added something: for me it's ok, but you better ask him
|
|
|
05-30-2013, 01:42 PM
|
#238
|
Member
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 64
Rep:
|
Hello fellas,
I have bought a raspberry pi b-model 5 months ago, with 512 MB RAM, and due to overworking months that followed i had not free time to play with it.
Until today , although with no luck and here is where i need your help.
I follow the guide from here using a class 10 8GB card SanDisk.
The problem is that device no boot and an with main orange color appears.
Can anyone help me to resolve this issue????
Thanks
|
|
|
05-30-2013, 01:52 PM
|
#239
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
|
|
|
05-30-2013, 09:45 PM
|
#240
|
Member
Registered: May 2007
Posts: 774
|
Quote:
Originally Posted by mpregos
Hello fellas,
I have bought a raspberry pi b-model 5 months ago, with 512 MB RAM, and due to overworking months that followed i had not free time to play with it.
Until today , although with no luck and here is where i need your help.
I follow the guide from here using a class 10 8GB card SanDisk.
The problem is that device no boot and an with main orange color appears.
Can anyone help me to resolve this issue????
Thanks
|
The newer boards might require a more up to date firmware. I had just bought a board two months ago, and all the images listed through the slackware arm site for raspi did not boot for me. Ponce's image saved me since I did not know what was wrong either. His image is more up to date and works. So follow his instructions. It's good to see he just updated his image again too. I was going to recommend to update your kernel and firmware, but since he just did that will save you some time.
|
|
|
All times are GMT -5. The time now is 03:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|