[libav-bugs] [Bug 537] New: configure not aware of AIX tools

bugzilla at libav.org bugzilla at libav.org
Tue Jul 16 17:18:26 CEST 2013


https://bugzilla.libav.org/show_bug.cgi?id=537

           Summary: configure not aware of AIX tools
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: michael.kostylev at gmail.com


Created attachment 422
  --> https://bugzilla.libav.org/attachment.cgi?id=422
proposed patch

On AIX, making any shared as well as 64-bit static builds is currently
unsupported by configure.

The -soname option is rejected by ld, while the -brtl option is needed to make
use of shared libraries that have the lib*.so filemask:

Options (-bOptions)
...
       rtl
            Enables run-time linking for the output file. This option implies
the rtllib and symbolic options.

            When dynamic mode is in effect (see the dynamic and static
options), the rtl option allows input files specified with the -l flag to end
in .so as well as in .a.

            All input files that are shared objects are listed as dependents of
your program in the output files loader section. The shared objects are listed
in the same order as they were specified on the
            command line.

Without some tweaks the ar utility won't build 64-bit archives.

       -X mode
            Specifies the type of object file ar should examine. The mode must
be one of the following:
              32
                   Processes only 32-bit object files
              64
                   Processes only 64-bit object files
              32_64
                   Processes both 32-bit and 64-bit object files
              d64
                   Examines discontinued 64-bit XCOFF files (magic number ==
U803XTOCMAGIC).
              any
                   Processes all of the supported object files.
            The default is to process 32-bit object files (ignore 64-bit
objects). The mode can also be set with the OBJECT_MODE environment variable.
For example, OBJECT_MODE=64 causes ar to process any 64-bit
            objects and ignore 32-bit objects. The -X flag overrides the
OBJECT_MODE variable.

I'd perefer to set ar_default than ar, but 'set_default ar' is already done
earlier.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list