Project

General

Profile

Actions

Bug #298

closed

SPARC build fails in smt_pause.o

Added by Alexander Maidak over 11 years ago. Updated over 11 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:

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

Also available in: Atom PDF