History log of /dragonfly/usr.bin/objformat/objformat.c (Results 1 – 25 of 61)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0
# 628f4db5 31-Oct-2020 zrj <rimvydas.jasinskas@gmail.com>

Switch to binutils234 as default base binutils.


Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 869af120 03-Feb-2020 zrj <rimvydas.jasinskas@gmail.com>

objformat(1): Remove incremental-dump handling.

Utility is incremental linking test/debug tool and no longer installed
in binutils-2.34. Remove handling for consistency.


# a3e064e4 27-Sep-2019 Sascha Wildner <saw@online.de>

Some cleanup regarding the removal of the old clang 3.8 framework.

Forgotten in 9f47dde1b3a468c6ec0f5593a50c214b95f51ebc.


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1
# 2a89766a 03-Sep-2018 Matthew Dillon <dillon@apollo.backplane.com>

World - Change default compiler from gcc-5 to gcc-8

* Change the default compiler from gcc-5 to gcc-8.
gcc-5 will no longer be built by default. Setting
WORLD_ALTCOMPILER=all will build all thr

World - Change default compiler from gcc-5 to gcc-8

* Change the default compiler from gcc-5 to gcc-8.
gcc-5 will no longer be built by default. Setting
WORLD_ALTCOMPILER=all will build all three as before.

* Create CC hardlink for gcc80 so dports picks it up.
gcc80 is now the default for dports instead of 50.

* Adjust the Makefile's to make things easier the next time,
though they could still use more work.

show more ...


Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc
# 5cc5a38c 19-Dec-2016 zrj <rimvydas.jasinskas@gmail.com>

Switch to binutils227 as default base binutils.

DPorts were fixed to work with ld.gold version 1.12 from binutils 2.27,
some workarounds were added to few ports. Haskell.
ld(ld.gold) has become very

Switch to binutils227 as default base binutils.

DPorts were fixed to work with ld.gold version 1.12 from binutils 2.27,
some workarounds were added to few ports. Haskell.
ld(ld.gold) has become very strict, in some scenarios LDVER=ld.bfd will help.
Updated binutils bring better support for world/kernel compilation with -flto.
Also updated ld.gold now is able to link chromium without any DSO warnings.

Signed-off-by: marino, swildner

show more ...


Revision tags: v4.6.1
# 875016c4 01-Oct-2016 John Marino <draco@marino.st>

Expose ld.bfd and ld.gold

It's now expected that ld, ld.bfd, and ld.gold are all installed by
modern binutils. The -fuse-gold option on GCC depends on it (both from
base and ports) and possibly cla

Expose ld.bfd and ld.gold

It's now expected that ld, ld.bfd, and ld.gold are all installed by
modern binutils. The -fuse-gold option on GCC depends on it (both from
base and ports) and possibly clang as well. This work is 6 months old,
but it was never committed as collect2 utility was only recently
built and installed.

Discussed with: dillon (6 months ago).

show more ...


Revision tags: v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3
# 2806e6a6 20-Mar-2016 John Marino <draco@marino.st>

Import framework to build base clang (version 3.8.0)

This commit has two major components:

1) Set of tools to generate makefiles from LLVM's CMake data.
It greatly assists upgrading base clang f

Import framework to build base clang (version 3.8.0)

This commit has two major components:

1) Set of tools to generate makefiles from LLVM's CMake data.
It greatly assists upgrading base clang from release to release

2) A new directory <root>/llvm_clang that will build and install
clang. It is not hooked into the world build yet.

The process for building clang is described in
tools/tools/llvm_generator/README. Basically the llvm source needs
to be symlinked to contrib/llvm after applying one patch, and then
it can be manually built and installed (and accessible via CCVER and
WORLD_CCVER).

It will not be hooked until the build until clang-built kernel modules
load properly (they load via kldload but not during boot). This was
last tested a few months ago on an llvm-38 dev branch using the customcc
functionality. clang-built worlds and kernels using clang 3.8.0 have
not been tested yet. This commit is meant to facilitate testing and
resolution of any issues with clang.

It was necessary to temporarily modify objformat to enable
WORLD_CCVER=clang to build the world. This modication will be removed
once clang officially replaces gcc47.

show more ...


Revision tags: v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc
# b69d2d5e 14-Nov-2015 John Marino <draco@marino.st>

Switch to using gold linker by default

DragonFly has always used the "GNU ld" linker to build itself. Now that
the ELF boot loader has been fixed to handle zero-offset headers (seen
with zero-lengt

Switch to using gold linker by default

DragonFly has always used the "GNU ld" linker to build itself. Now that
the ELF boot loader has been fixed to handle zero-offset headers (seen
with zero-length ELF notes), the newer gold linker can handle being the
default. That's what this commit does.

People can continue with the classic linker by putting the following in
/etc/make.conf: WORLD_LDVER=ld.bfd
... and setting "LDVER=ld.bfd" in their environment.

The gold linker does not use the bfd library and thus is limited to the
ELF format (fine for DF). It's code is much cleaner (c++), so it's easy
to understand and modify, and it reportedly links complex c++ object
files significantly faster than the BFD-based linker. Both linkers are
written by the same person, Ian Lance Taylor.

show more ...


Revision tags: v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc
# 4e8e707f 19-Apr-2015 John Marino <draco@marino.st>

Set gcc50 as the primary compiler, gcc47 as secondary

Per request, rather than define NO_GCC47 to prevent the building of the
secondary compiler, the new variable is called NO_ALTCOMPILER. This
wil

Set gcc50 as the primary compiler, gcc47 as secondary

Per request, rather than define NO_GCC47 to prevent the building of the
secondary compiler, the new variable is called NO_ALTCOMPILER. This
will avoid some disruption in the future where the actual version is not
important, only the desire to avoid the secondary compiler.

show more ...


# 408d50d5 31-Mar-2015 John Marino <draco@marino.st>

Set binutils 2.25 as primary version

Binutils 2.24 is now the backup version.


Revision tags: v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1
# e05895f1 06-Dec-2013 John Marino <draco@marino.st>

Set binutils 2.24 as primary, binutils 2.22 as alternate

By default, world will now build with binutils 2.24 and objformat will
also default to these programs. Previously binutils 2.22 has been
per

Set binutils 2.24 as primary, binutils 2.22 as alternate

By default, world will now build with binutils 2.24 and objformat will
also default to these programs. Previously binutils 2.22 has been
performing these duties.

show more ...


Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0
# 6100d1de 03-Feb-2013 John Marino <draco@marino.st>

Promote GCC 4.7 to be the default compiler

This commit causes world and kernel to be built by GCC 4.7 if the compiler
is not specified. As a side effect, the make variable "NO_GCC47" no longer
func

Promote GCC 4.7 to be the default compiler

This commit causes world and kernel to be built by GCC 4.7 if the compiler
is not specified. As a side effect, the make variable "NO_GCC47" no longer
functions. GCC 4.7 will always be built. In addition to changing the
default of WORLD_CCVER, the CCVER variable also defaults to "gcc47" now.

The variable "NO_GCC44" has been resurrected to prevent GCC 4.4 from
being built. As noted in the UPDATING file, using this option is highly
discouraged. GCC 4.4 is very useful in building some packages in pkgsrc
that fail to build with GCC 4.7's stricter standards. The new DPorts
system is designed to use GCC 4.4 by default, regardless of the base's
default compiler setting. If at all possible, build *both* compilers
for the maximum flexibility to build packages.

show more ...


Revision tags: v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2
# f5e09b04 24-Feb-2012 John Marino <draco@marino.st>

objformat: Recognize LDVER instead of LINKERVER

An informal discussion on IRC revealed that the environment variable
LDVER is preferred over LINKERVER to select the gold linker.


Revision tags: v3.0.1
# bf4591b3 12-Feb-2012 Samuel J. Greear <sjg@thesjg.com>

objformat - Duplicate NELEM() macro

* Fix buildworld on DragonFly hosts built before Dec 18, 2010 (2.9).

* NELEM() macro was added to sys/param.h on Dec 18, 2010 and objformat was
made to use it

objformat - Duplicate NELEM() macro

* Fix buildworld on DragonFly hosts built before Dec 18, 2010 (2.9).

* NELEM() macro was added to sys/param.h on Dec 18, 2010 and objformat was
made to use it on May 20, 2011. This broke upgrades for machines running a
DragonFly version built prior to Dec 18, 2010 since objformat is built with
the hosts headers as part of the cross tools stage.

show more ...


# 2350540c 12-Feb-2012 John Marino <draco@marino.st>

objformat: Avoid unnecessary getenv calls

The CCVER and BINUTILSVERS are always checked by objformat, even when
these values won't be used. For example, there's no need to know the
value of CCVER w

objformat: Avoid unnecessary getenv calls

The CCVER and BINUTILSVERS are always checked by objformat, even when
these values won't be used. For example, there's no need to know the
value of CCVER when executing the realelf binutils binary, but it was
getting requested in all cases.

This commit limits the getenv requests to the bare minimum required.
Additionally it adds whitespace to the commands structure for the
purpose of aesthetics.

show more ...


# 0784934a 12-Feb-2012 John Marino <draco@marino.st>

objformat: Add LINKERVER environment variable recognition

objformat will now scan for the LINKERVER environment variable. If this
variable exists *AND* it has the value of "ld.gold", the command "l

objformat: Add LINKERVER environment variable recognition

objformat will now scan for the LINKERVER environment variable. If this
variable exists *AND* it has the value of "ld.gold", the command "ld"
will point at the gold linker. In every other case, it will point at
the classic "gnu ld" linker.

The relative command position of "ld" was moved to after the compiler
group because it's a popular command and having it towards the front
means less time in the search loop.

show more ...


Revision tags: v3.1.0, v3.0.0
# e685772e 25-Nov-2011 John Marino <draco@marino.st>

binutils 2.22: Promote to primary binutils


# 1c05bfaa 26-Nov-2011 John Marino <draco@marino.st>

Revert "binutils 2.22: Promote to primary binutils"

This reverts commit c2e570e14a87f984d27b71ec02365064555dee87.


# c2e570e1 25-Nov-2011 John Marino <draco@marino.st>

binutils 2.22: Promote to primary binutils


# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0
# 9e66a35c 21-Jul-2011 John Marino <draco@marino.st>

gprof: Replace BSD gprof and gprof4 with gnu gprof

This stops old gprof and gprof4 from getting built, and links gnu prof
to /usr/bin.


# b5cd2d99 28-May-2011 Sascha Wildner <saw@online.de>

Revert a change that I accidentally committed but which is not ready yet.


# fb5b3747 28-May-2011 Sascha Wildner <saw@online.de>

manpages: Uniformly order the prologue macros by Dd/Dt/Os.

This is the most widely used order and it also silences warnings
in mandoc -Tlint output.


# 82100819 21-May-2011 John Marino <draco@marino.st>

c++filt: Switch from compiler to binutils versions


# 05e72d3a 20-May-2011 Sascha Wildner <saw@online.de>

Revert "objformat(1): Remove an unneeded default case."

This reverts commit 6308114003c9933e09f3d6362af7e14638b6c223.

There are numerous ways to pass garbage to the switch(), even with
an enum, so

Revert "objformat(1): Remove an unneeded default case."

This reverts commit 6308114003c9933e09f3d6362af7e14638b6c223.

There are numerous ways to pass garbage to the switch(), even with
an enum, so we want the default.

Pointed-out-by: aggelos

show more ...


123