[Info-vax] Linking problem with multiply defined symbols, how to resolve?

Richard Levitte richard at levitte.org
Sat Oct 1 15:13:13 EDT 2022


fredag 30 september 2022 kl. 19:39:03 UTC+2 skrev hb:
> The linker processes input files in cluster order. With object modules 
> on the command line or in the options file, the object module is 
> collected into the "DEFAULT_CLUSTER". Any shareable image specified in 
> the options file is put in its own cluster (it's shareable image name) 
> in the order of the options file, no matter if it is selectively 
> processed or not. All such "user defined" clusters are put into the 
> cluster list before the default cluster. 

That last bit, "before the default cluster", is the bit that escaped me, obviously.  I don't see that clearly in the manual, quite the contrary when I read this, for example (third paragraph of 2.3.1, emphasis of "after" mine):

> Clusters for shareable images, specified in shareable image libraries, appear /after/ the default cluster
> on the cluster list because they are created later in linker processing, when the linker knows which
> shareable images in the library are needed for the link operation.

Maybe I misunderstand...  so I guess, thanks for the clarification, and I guess I'd better turn to explicit clustering.

Cheers,
Richard



More information about the Info-vax mailing list