It is currently Thu Nov 26, 2020 8:32 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [Done] Data section in a dylib fails -ever -PB560
PostPosted: Wed May 17, 2017 10:36 pm 
Offline
Addict
Addict

Joined: Sat Mar 02, 2013 9:17 am
Posts: 930
Try simple creating a dylib

Code:
    DataSection
      Data.l $A0A0A0
    EndDataSection


ld: warning: -read_only_relocs cannot be used with x86_64
ld: illegal text-relocation to 'PB_DataSectionStart' in purebasic.o from '_PB_StartFunctions' in purebasic.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

_________________
http://www.nachtoptik.de


Top
 Profile  
Reply with quote  
 Post subject: Re: Data section in a dylib fails -ever -PB560
PostPosted: Thu May 18, 2017 11:27 am 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6261
Location: Wales, UK
Another one that works on Win7 x86 PB5.60 x86

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Data section in a dylib fails -ever -PB560
PostPosted: Thu May 18, 2017 1:59 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 3701
Location: Netherlands
walbus wrote:
Try simple creating a dylib

I can confirm the problem. Seems to be a bug.

_________________
macOS 10.15 Catalina, Windows 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Data section in a dylib fails -ever -PB560
PostPosted: Sat Feb 08, 2020 9:45 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14179
Location: France
Fixed.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye