From owner-freebsd-current Tue Jun 4 5: 8:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mharnois.mdharnois.net (customer-mpls-23.cpinternet.com [209.240.253.23]) by hub.freebsd.org (Postfix) with ESMTP id 847B837B404 for ; Tue, 4 Jun 2002 05:08:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mharnois.mdharnois.net (Postfix) with ESMTP id 380033C15; Tue, 4 Jun 2002 07:08:33 -0500 (CDT) Subject: Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries From: "Michael D. Harnois" To: "Marc G. Fournier" Cc: Stanislav Grozev , freebsd-current@FreeBSD.ORG In-Reply-To: <20020603211621.V2522-100000@mail1.hub.org> References: <20020603211621.V2522-100000@mail1.hub.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 04 Jun 2002 07:08:32 -0500 Message-Id: <1023192513.4197.8.camel@mharnois.mdharnois.net> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > you replace > > #pragma weak foo = bar > > with either > > #pragma weak foo = "bar" /* this is easier */ > > or > > if __GNUC__ >= 3 > > int foo() __attribute__ ((weak, alias ("bar"))); > > #endif /* __GNUC__ */ > > . I tried the quotation mark fix, and all it does is change the error message to UIThrStubs.c:102: warning: malformed #pragma weak, ignored UIThrStubs.c:103: warning: malformed #pragma weak, ignored UIThrStubs.c:104: warning: malformed #pragma weak, ignored UIThrStubs.c:105: warning: malformed #pragma weak, ignored UIThrStubs.c:106: warning: malformed #pragma weak, ignored UIThrStubs.c:107: warning: malformed #pragma weak, ignored UIThrStubs.c:108: warning: malformed #pragma weak, ignored UIThrStubs.c:109: warning: malformed #pragma weak, ignored UIThrStubs.c:110: warning: malformed #pragma weak, ignored UIThrStubs.c:111: warning: malformed #pragma weak, ignored UIThrStubs.c:113: warning: malformed #pragma weak, ignored UIThrStubs.c:114: warning: malformed #pragma weak, ignored UIThrStubs.c:115: warning: malformed #pragma weak, ignored UIThrStubs.c:131: warning: `_Xthr_self_stub_' defined but not used UIThrStubs.c:139: warning: `_Xthr_zero_stub_' defined but not used which doesn't really seem to be a solution. -- Michael D. Harnois bilocational bivocational Pastor, Redeemer Lutheran Church Washburn, Iowa 2L, UST School of Law Minneapolis, Minnesota There are things that are so serious that you can only joke about them. -- Werner Heisenberg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message