Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 1998 22:51:19 -0700 (PDT)
From:      sepotvin@videotron.ca
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   conf/6872: Wrong csu lib built when setting BINFORMAT=elf
Message-ID:  <199806060551.WAA26503@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         6872
>Category:       conf
>Synopsis:       Wrong csu lib built when setting BINFORMAT=elf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun  5 23:00:01 PDT 1998
>Last-Modified:
>Originator:     Stephane E. Potvin
>Organization:
IBM Canada Ltd.
>Release:        FreeBSD 3.0-CURRENT
>Environment:
FreeBSD azimov.videotron.ca 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Jun  5 05:28:00 EDT 1998     rubik@azimov.videotron.ca:/usr/local/src/sys/compile/AZIMOV  i386
>Description:
When BINFORMAT=elf is set the old i386 csu lib is built instead of
i386-elf
>How-To-Repeat:
Just do a make buildworld with BINFORMAT=elf set.
>Fix:
*** Makefile.orig       Sat Jun  6 00:53:02 1998
--- Makefile    Sat Jun  6 01:46:18 1998
***************
*** 649,658 ****
  # Some libraries are built conditionally and/or are in inconsistently
  # named directories:
  #
! .if exists(lib/csu/${MACHINE}.pcc)
! _csu=lib/csu/${MACHINE}.pcc
! .else
! _csu=lib/csu/${MACHINE}
  .endif

  # Build the "default" libcrypt first since it sets symlinks for static
--- 649,658 ----
  # Some libraries are built conditionally and/or are in inconsistently
  # named directories:
  #
! .if exists(lib/csu/${MACHINE_ARCH}-${BINFORMAT})
! _csu=lib/csu/${MACHINE_ARCH}-${BINFORMAT}
! .elif exists(lib/csu/${MACHINE_ARCH})
! _csu=lib/csu/${MACHINE_ARCH}
  .endif

  # Build the "default" libcrypt first since it sets symlinks for static

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806060551.WAA26503>