LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-12-2013, 02:29 PM   #226
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,460

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888

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 02:30 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-12-2013, 03:57 PM   #227
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,313

Rep: Reputation: Disabled
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
 
Old 05-13-2013, 01:38 AM   #228
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
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
 
Old 05-13-2013, 01:33 PM   #229
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
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.
 
Old 05-13-2013, 02:01 PM   #230
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,313

Rep: Reputation: Disabled
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
 
Old 05-13-2013, 02:16 PM   #231
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
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.
 
Old 05-13-2013, 02:19 PM   #232
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,460

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
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 02:31 PM.
 
Old 05-13-2013, 03:29 PM   #233
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
Quote:
Originally Posted by ponce View Post
-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!
 
Old 05-20-2013, 11:13 PM   #234
ag33k
LQ Newbie
 
Registered: Mar 2013
Location: Portugal
Distribution: Slackware
Posts: 16

Rep: Reputation: Disabled
Any of you guys are going to try Parallella?
 
Old 05-21-2013, 07:28 AM   #235
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,460

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
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/
 
Old 05-22-2013, 01:58 PM   #236
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
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
 
Old 05-22-2013, 03:24 PM   #237
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,460

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
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
 
Old 05-30-2013, 12:42 PM   #238
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 52

Rep: Reputation: 16
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
 
Old 05-30-2013, 12:52 PM   #239
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,460

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
if you're sure your SD card is supported, follow the instructions from here

http://ponce.cc/slackware/testing/ra...ADME.installer

and grab this installer for the task

http://ponce.cc/slackware/testing/raspi-extras-armv6/
 
Old 05-30-2013, 08:45 PM   #240
the3dfxdude
Member
 
Registered: May 2007
Posts: 323

Rep: Reputation: 90
Quote:
Originally Posted by mpregos View Post
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.
 
  


Reply


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
Raspberry Pi project Dutch Master Linux - General 12 08-05-2012 06:48 AM
[SOLVED] VLC on ARMEDSlack compile fails ryerke Slackware 6 10-14-2011 11:24 AM
armedslack-13.37 - can't run any KDE apps? ahmadj Slackware 4 08-26-2011 08:09 AM
is it possible to install armedslack on a icy box IB-NAS6210 gtludwig Slackware 5 05-19-2011 09:15 PM
armedslack 13.37 tmfizzle Slackware 3 05-17-2011 09:56 AM


All times are GMT -5. The time now is 01:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration