bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug admin/18997] New: Please enable AS and LD in configure.ac for OS X


From: noloader at gmail dot com
Subject: [Bug admin/18997] New: Please enable AS and LD in configure.ac for OS X
Date: Thu, 24 Sep 2015 01:46:51 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18997

            Bug ID: 18997
           Summary: Please enable AS and LD in configure.ac for OS X
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: admin
          Assignee: unassigned at sourceware dot org
          Reporter: noloader at gmail dot com
  Target Milestone: ---

According to a checkout of the latest binutil sources from Git:

  $ grep -n "noconfigdirs" configure.ac | grep "ld gas"
  1015:    noconfigdirs="$noconfigdirs ld gas gdb gprof"
  1023:    noconfigdirs="$noconfigdirs ld gas gprof"
  1027:    noconfigdirs="$noconfigdirs ld gas gdb gprof"
  1245:    noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
  1251:    noconfigdirs="$noconfigdirs ld gas gprof"

And from the cluster at 1015/1023/1027:

  i[[3456789]]86-*-darwin*)
    noconfigdirs="$noconfigdirs ld gprof"
    noconfigdirs="$noconfigdirs sim target-rda"
    ;;
  x86_64-*-darwin[[912]]*)
    noconfigdirs="$noconfigdirs ld gas gprof"
    noconfigdirs="$noconfigdirs sim target-rda"
    ;;
  *-*-darwin*)
    noconfigdirs="$noconfigdirs ld gas gdb gprof"
    noconfigdirs="$noconfigdirs sim target-rda"
    ;;

>From above, notice GAS is enabled for i386|i686, but not x86_64.

Downstream providers, like Macports, do not provide them stating its an
upstream problem. Confer, "Where is AS located after Binutils is installed?",
https://lists.macosforge.org/pipermail/macports-users/2015-April/038397.html.

I would like to ask that Binutils provide both LD and AS for OS X. Enabling LD
and AS will benefit users, and get downstream providers like Macports involved
in enhancing the utilities.

***********

Here's some related information.

Our project provides both C/C++ code and alternate inline assembly (both
one-liners and blocks). The ASM code is never used on OS X because of OS X's
down-level assembler, even when contemporary gear (like a modern GCC via
Macports) is available.

Clang is not always an alternative for OS X. For example, Clang and its
integrated assembler cannot consume some basic ASM statements, like a negate.
Confer, https://llvm.org/bugs/show_bug.cgi?id=24232.

GCC manages to work around many|most issues with Apple platforms. For example,
init_priorty is not available on OS X. GCC chooses to make init_priorty an
compiler error rather than not providing the compiler on OS X.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]