* ld for ia64-hp-openvms target
@ 2015-03-17 10:31 David SAUVAGE - AdaLabs Ltd
2015-03-17 10:42 ` Andreas Schwab
0 siblings, 1 reply; 10+ messages in thread
From: David SAUVAGE - AdaLabs Ltd @ 2015-03-17 10:31 UTC (permalink / raw)
To: binutils
Hello,
using binutils-2.24, I am trying to get more information about ld for
ia64-hp-openvms target
In the binutils Changelog file, we can read (2012-03-19, TG)
* configure.ac (ia64*-*-*vms*): Add support for ld.
but in configure.ac, we have
ia64*-*-*vms*)
# No ld support yet.
noconfigdirs="$noconfigdirs libgui itcl ld"
Any information, vision, advises concerning how to bring/get ld for this
target is most welcome.
Regards,
--
David SAUVAGE
Software Agile Architect, Director
AdaLabs Ltd - Mauritius
http://adalabs.com
+230 542 818 32
skype sauvaged
BRN C10097052
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-17 10:31 ld for ia64-hp-openvms target David SAUVAGE - AdaLabs Ltd
@ 2015-03-17 10:42 ` Andreas Schwab
2015-03-17 14:37 ` David SAUVAGE - AdaLabs Ltd
0 siblings, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2015-03-17 10:42 UTC (permalink / raw)
To: David SAUVAGE - AdaLabs Ltd; +Cc: binutils
David SAUVAGE - AdaLabs Ltd <david.sauvage@adalabs.com> writes:
> Hello,
>
> using binutils-2.24, I am trying to get more information about ld for
> ia64-hp-openvms target
>
> In the binutils Changelog file, we can read (2012-03-19, TG)
> * configure.ac (ia64*-*-*vms*): Add support for ld.
This part has been reverted by
<http://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7ec59b9>.
> Any information, vision, advises concerning how to bring/get ld for this
> target is most welcome.
You'll probably just have to reinstall the change.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-17 10:42 ` Andreas Schwab
@ 2015-03-17 14:37 ` David SAUVAGE - AdaLabs Ltd
2015-03-17 15:00 ` Tristan Gingold
0 siblings, 1 reply; 10+ messages in thread
From: David SAUVAGE - AdaLabs Ltd @ 2015-03-17 14:37 UTC (permalink / raw)
To: binutils
On 03/17/2015 02:42 PM, Andreas Schwab wrote:
> [..]
> You'll probably just have to reinstall the change.
>
Thanks for your feedback Andreas,
using binutils 2.23.1, ia64-hp-openvms-ld is created successfully but I
have some errors [1]
I don't know if it is preferable to re-introduce the removed feature to
binutils-2.24, or to go from past binutils commits.
Any advises are most welcome,
[1]
/tmp/file.s:2: Error: unknown pseudo-op: `.pred.safe_across_calls'
/tmp/file.s:4: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T
in string
--
David
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-17 14:37 ` David SAUVAGE - AdaLabs Ltd
@ 2015-03-17 15:00 ` Tristan Gingold
2015-03-17 19:42 ` David SAUVAGE - AdaLabs Ltd
0 siblings, 1 reply; 10+ messages in thread
From: Tristan Gingold @ 2015-03-17 15:00 UTC (permalink / raw)
To: David SAUVAGE - AdaLabs Ltd; +Cc: binutils
> On 17 Mar 2015, at 15:36, David SAUVAGE - AdaLabs Ltd <david.sauvage@adalabs.com> wrote:
>
> On 03/17/2015 02:42 PM, Andreas Schwab wrote:
>> [..]
>> You'll probably just have to reinstall the change.
>>
>
> Thanks for your feedback Andreas,
>
> using binutils 2.23.1, ia64-hp-openvms-ld is created successfully but I have some errors [1]
>
> I don't know if it is preferable to re-introduce the removed feature to binutils-2.24, or to go from past binutils commits.
>
> Any advises are most welcome,
>
> [1]
> /tmp/file.s:2: Error: unknown pseudo-op: `.pred.safe_across_calls'
> /tmp/file.s:4: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
What is your input file ? Does it work with gas for ia64-linux ?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-17 15:00 ` Tristan Gingold
@ 2015-03-17 19:42 ` David SAUVAGE - AdaLabs Ltd
2015-03-18 8:46 ` Tristan Gingold
0 siblings, 1 reply; 10+ messages in thread
From: David SAUVAGE - AdaLabs Ltd @ 2015-03-17 19:42 UTC (permalink / raw)
To: Tristan Gingold; +Cc: binutils
On 03/17/2015 07:00 PM, Tristan Gingold wrote:
>> [1]
>> >/tmp/file.s:2: Error: unknown pseudo-op: `.pred.safe_across_calls'
>> >/tmp/file.s:4: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
> What is your input file ? Does it work with gas for ia64-linux ?
>
There is an issue in my environment, seems the host /usr/bin/as was
called instead of ia64-hp-openvms-as
ia64-hp-openvms-ld now output the following, which seems nice !
ia64-hp-openvms-ld: cannot find -limagelib
ia64-hp-openvms-ld: cannot find -lstarlet
ia64-hp-openvms-ld: cannot find -lsys$public_vectors
I will add on my todo list to add ld support for ia64*-*-*vms* on latest
binutils, any main hidden issues concerning this ?
--
David
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-17 19:42 ` David SAUVAGE - AdaLabs Ltd
@ 2015-03-18 8:46 ` Tristan Gingold
2015-03-19 16:54 ` David SAUVAGE - AdaLabs Ltd
2015-04-23 13:15 ` David SAUVAGE - AdaLabs Ltd
0 siblings, 2 replies; 10+ messages in thread
From: Tristan Gingold @ 2015-03-18 8:46 UTC (permalink / raw)
To: David SAUVAGE - AdaLabs Ltd; +Cc: binutils
> On 17 Mar 2015, at 20:42, David SAUVAGE - AdaLabs Ltd <david.sauvage@adalabs.com> wrote:
>
> On 03/17/2015 07:00 PM, Tristan Gingold wrote:
>>> [1]
>>> >/tmp/file.s:2: Error: unknown pseudo-op: `.pred.safe_across_calls'
>>> >/tmp/file.s:4: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
>> What is your input file ? Does it work with gas for ia64-linux ?
>>
> There is an issue in my environment, seems the host /usr/bin/as was called instead of ia64-hp-openvms-as
> ia64-hp-openvms-ld now output the following, which seems nice !
>
> ia64-hp-openvms-ld: cannot find -limagelib
> ia64-hp-openvms-ld: cannot find -lstarlet
> ia64-hp-openvms-ld: cannot find -lsys$public_vectors
You have to import these libraries from a VMS system.
> I will add on my todo list to add ld support for ia64*-*-*vms* on latest binutils, any main hidden issues concerning this ?
AFAIK, no. The ia64-openvms port of GNU ld was only for cross. Do not expect command line compatibility with VMS link.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-18 8:46 ` Tristan Gingold
@ 2015-03-19 16:54 ` David SAUVAGE - AdaLabs Ltd
2015-03-20 8:38 ` Tristan Gingold
2015-04-23 13:15 ` David SAUVAGE - AdaLabs Ltd
1 sibling, 1 reply; 10+ messages in thread
From: David SAUVAGE - AdaLabs Ltd @ 2015-03-19 16:54 UTC (permalink / raw)
To: Tristan Gingold; +Cc: binutils
On 03/18/2015 12:45 PM, Tristan Gingold wrote:
>> I will add on my todo list to add ld support for ia64*-*-*vms* on latest binutils, any main hidden issues concerning this ?
> AFAIK, no. The ia64-openvms port of GNU ld was only for cross. Do not expect command line compatibility with VMS link.
>
What would be the major issues using GNU ld in an ia64-hp-openvms native context ?
A layer on top of GNU ld could manage the command line compatibility.
-- David
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-19 16:54 ` David SAUVAGE - AdaLabs Ltd
@ 2015-03-20 8:38 ` Tristan Gingold
0 siblings, 0 replies; 10+ messages in thread
From: Tristan Gingold @ 2015-03-20 8:38 UTC (permalink / raw)
To: David SAUVAGE - AdaLabs Ltd; +Cc: binutils
> On 19 Mar 2015, at 17:54, David SAUVAGE - AdaLabs Ltd <david.sauvage@adalabs.com> wrote:
>
> On 03/18/2015 12:45 PM, Tristan Gingold wrote:
>
>>> I will add on my todo list to add ld support for ia64*-*-*vms* on latest binutils, any main hidden issues concerning this ?
>> AFAIK, no. The ia64-openvms port of GNU ld was only for cross. Do not expect command line compatibility with VMS link.
>>
> What would be the major issues using GNU ld in an ia64-hp-openvms native context ?
I don't see any good reasons for that work, except for the purpose of having a native free linker on openvms. So the real question is: what's the aim ?
> A layer on top of GNU ld could manage the command line compatibility.
There is more than command line compatibility: feature compatibility. OpenVMS object files have many features that don't exit on unix/linux. GNU ld 'works' as a cross linker because object files created by gcc are very simple (in term of features).
Tristan.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-03-18 8:46 ` Tristan Gingold
2015-03-19 16:54 ` David SAUVAGE - AdaLabs Ltd
@ 2015-04-23 13:15 ` David SAUVAGE - AdaLabs Ltd
2015-04-23 15:30 ` Tristan Gingold
1 sibling, 1 reply; 10+ messages in thread
From: David SAUVAGE - AdaLabs Ltd @ 2015-04-23 13:15 UTC (permalink / raw)
To: binutils; +Cc: gingold
On 03/18/2015 12:45 PM, Tristan Gingold wrote:
>> ia64-hp-openvms-ld: cannot find -limagelib
>> >ia64-hp-openvms-ld: cannot find -lstarlet
>> >ia64-hp-openvms-ld: cannot find -lsys$public_vectors
> You have to import these libraries from a VMS system.
>
I imported the 3 of them from VMS by using copy and zip them before
transfer to Unix.
While the cross ld _seems_ to correctly process imagelib.exe and
starlet.exe, a segfault is raised while processing
sys$public_vectors.exe [1]
Did you took sys$public_vectors.exe 'as it is' from VMS or did you
rework/transform/.../ it ?
[1]
binutils-2.23.1/elf64-ia64-vms.c
A.
in function elf64_vms_link_add_object_symbols htab->dynobj has NULL
value in the call to elf64_ia64_create_dynamic_sections
B.
Moreover in function elf64_ia64_create_dynamic_sections elf_hash_table
(info)->dynobj also has NULL value
Any idea why both htab->dynobj and elf_hash_table (info)->dynobj has
NULL value ?
Thanks
--
David SAUVAGE
Software Agile Architect, Director
AdaLabs Ltd - Mauritius
http://adalabs.com
+230 542 818 32
skype sauvaged
BRN C10097052
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ld for ia64-hp-openvms target
2015-04-23 13:15 ` David SAUVAGE - AdaLabs Ltd
@ 2015-04-23 15:30 ` Tristan Gingold
0 siblings, 0 replies; 10+ messages in thread
From: Tristan Gingold @ 2015-04-23 15:30 UTC (permalink / raw)
To: David SAUVAGE - AdaLabs Ltd; +Cc: binutils
> On 23 Apr 2015, at 15:15, David SAUVAGE - AdaLabs Ltd <david.sauvage@adalabs.com> wrote:
>
> On 03/18/2015 12:45 PM, Tristan Gingold wrote:
>>> ia64-hp-openvms-ld: cannot find -limagelib
>>> >ia64-hp-openvms-ld: cannot find -lstarlet
>>> >ia64-hp-openvms-ld: cannot find -lsys$public_vectors
>> You have to import these libraries from a VMS system.
>>
>
>
> I imported the 3 of them from VMS by using copy and zip them before transfer to Unix.
>
> While the cross ld _seems_ to correctly process imagelib.exe and starlet.exe, a segfault is raised while processing sys$public_vectors.exe [1]
>
> Did you took sys$public_vectors.exe 'as it is' from VMS or did you rework/transform/.../ it ?
No, I didn’t transform it.
> [1]
> binutils-2.23.1/elf64-ia64-vms.c
> A.
> in function elf64_vms_link_add_object_symbols htab->dynobj has NULL value in the call to elf64_ia64_create_dynamic_sections
> B.
> Moreover in function elf64_ia64_create_dynamic_sections elf_hash_table (info)->dynobj also has NULL value
>
> Any idea why both htab->dynobj and elf_hash_table (info)->dynobj has NULL value ?
Not out of mind. Needs a little bit of investigation :-(
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-04-23 15:30 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 10:31 ld for ia64-hp-openvms target David SAUVAGE - AdaLabs Ltd
2015-03-17 10:42 ` Andreas Schwab
2015-03-17 14:37 ` David SAUVAGE - AdaLabs Ltd
2015-03-17 15:00 ` Tristan Gingold
2015-03-17 19:42 ` David SAUVAGE - AdaLabs Ltd
2015-03-18 8:46 ` Tristan Gingold
2015-03-19 16:54 ` David SAUVAGE - AdaLabs Ltd
2015-03-20 8:38 ` Tristan Gingold
2015-04-23 13:15 ` David SAUVAGE - AdaLabs Ltd
2015-04-23 15:30 ` Tristan Gingold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).