Project

General

Profile

Actions

Bug #298

closed

SPARC build fails in smt_pause.o

Added by Alexander Maidak over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
2010-10-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:

Description

A nightly SPARC build fails with:

/usr/ccs/bin/as: error: cannot open output file "pics/smt_pause.o"

This is the same bug as OpenSolaris bug 6980011 introduced in b147.

The following work around documented in bug 6980011 was effective for me.

--- a/usr/src/lib/libc/Makefile Sat Sep 25 11:51:56 2010 +0800
+++ b/usr/src/lib/libc/Makefile Mon Oct 04 22:08:47 2010 -0500
@@ -138,7 +138,7 @@
                exit 1; \
        fi

-$(MACHLIBS):   $(MACH_COMP)
+$(MACHLIBS) $(MACH)/$(LIB_PIC) $(VARIANTLIBS):        $(MACH_COMP)

 lib64: $(MACH_COMP) $(MACHLIBS64) $(MACH64)/$(LIB_PIC) $(VARIANTLIBS64)
        @if $(ELFDUMP) -r $(MACH64)/$(DYNLIB) | $(GREP) -w environ ; then \
@@ -147,7 +147,7 @@
                exit 1; \
        fi

-$(MACHLIBS64): $(MACH_COMP)
+$(MACHLIBS64) $(MACH64)/$(LIB_PIC) $(VARIANTLIBS64):  $(MACH_COMP)

 $(VARIANTLIBS): FRC
        @cd $(@D); pwd; VERSION='$(VERSION)' $(MAKE) $(@F)

Related issues

Has duplicate illumos gate - Bug #382: SPARC: Build often fails in smt_pause.oClosed2010-10-29

Actions
Actions #1

Updated by Garrett D'Amore over 12 years ago

  • Category set to lib - userland libraries
  • Assignee set to Garrett D'Amore
  • % Done changed from 0 to 90

I'm working on this now, along with other related build problems on SPARC. Stay tuned.

Actions #2

Updated by Garrett D'Amore over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Fixed in 664a5b7b18e3

Actions #3

Updated by Gordon Ross over 12 years ago

  • Status changed from Resolved to In Progress
  • Assignee deleted (Garrett D'Amore)
  • % Done changed from 100 to 80

This apparently still has problems. Jon Tibble is working on a fix.

Actions #4

Updated by Jon Tibble over 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

Committed in 13255:4afa820d78b9

Actions

Also available in: Atom PDF