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 09-28-2016, 11:51 AM   #1
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
BUG+PATCH: Slackware 14.1 binutils


Hi.

I came across a problem when dealing with thread-local storage on Slackware 14.1* that is due to a bug in binutils 2.23.52.0.1.

Here's a simple trigger:

Code:
echo "__thread int i = 42; int *iaddr() { return &i; }" | gcc -m32 -shared -mtls-dialect=gnu2 -fPIC -o /dev/null -xc - && echo good
Solution: rebuild binutils 2.23.52.0.1 after applying binutils-2.23.52.0.1_PR17057.diff.

--mancha

======
* presumably also an issue on Slackware64 14.1+multilib generating x86 code.
 
  


Reply

Tags
binutils, bug, slackware 14.1



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
Bugzilla: How to get the patch file list for each bug? raoshivani Linux - Newbie 0 03-03-2012 03:48 PM
Microsoft to patch 17-year-old computer bug Jeebizz Linux - News 0 02-05-2010 03:39 PM
binutils patch error eshi14 Linux From Scratch 4 12-07-2009 05:49 PM
how to do the Patch update and bug fix in AS 3.0? sathyguy Linux - Enterprise 3 08-31-2006 06:44 AM
Windowmaker Flickering Bug Patch Ian Linux - Software 1 06-04-2004 03:32 AM

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

All times are GMT -5. The time now is 11:01 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