* Problems on SGI Irix 6.x.
@ 1997-12-05 16:52 Lee Iverson
1997-12-11 5:30 ` Swen Thuemmler
0 siblings, 1 reply; 3+ messages in thread
From: Lee Iverson @ 1997-12-05 16:52 UTC (permalink / raw)
To: egcs
Aside from the previously mentioned problem with shared libraries,
there are a number of significant problems which showed up when trying
to compile libg++-2.8.0b6.3 with egcs.
1) The -mabi=? argument for the multilib builds should be passed in
the LDFLAG.
2) LONG_MAX is set completely wrong under Irix 6.x.
Fixes for both problems are included below.
1997-12-05 Lee Iverson <leei@Canada.AI.SRI.COM>
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
diff -rpc2 ../DIST-egcs-snapshot/config-ml.in ./config-ml.in
*** ../DIST-egcs-snapshot/config-ml.in Fri Dec 5 11:49:08 1997
--- ./config-ml.in Thu Aug 21 15:57:38 1997
*************** multi-do:
*** 409,413 ****
LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
- LDFLAGS="$(LDFLAGS) $${flags}" \
$(DO)); then \
true; \
--- 409,412 ----
1997-12-05 Lee Iverson <leei@Canada.AI.SRI.COM>
* mips/abi64.h (LONG_MAX_SPEC): Make redefinition conditional on
-mabi=64.
mips.h: Cosmetic change in comment of mips_abi_string.
diff -rpc2 ../DIST-egcs-snapshot/gcc/config/mips/abi64.h ./gcc/config/mips/abi64.h
*** ../DIST-egcs-snapshot/gcc/config/mips/abi64.h Fri Dec 5 11:34:56 1997
--- ./gcc/config/mips/abi64.h Wed Sep 17 17:31:49 1997
*************** extern struct rtx_def *mips_function_val
*** 215,219 ****
#undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{mabi=64: %{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}}"
/* ??? Unimplemented stuff follows. */
--- 215,219 ----
#undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}"
/* ??? Unimplemented stuff follows. */
diff -rpc2 ../DIST-egcs-snapshot/gcc/config/mips/mips.h ./gcc/config/mips/mips.h
*** ../DIST-egcs-snapshot/gcc/config/mips/mips.h Fri Dec 5 11:35:10 1997
--- ./gcc/config/mips/mips.h Thu Nov 13 13:08:05 1997
*************** extern int mips_isa; /* architectural
*** 140,144 ****
extern char *mips_cpu_string; /* for -mcpu=<xxx> */
extern char *mips_isa_string; /* for -mips{1,2,3,4} */
! extern char *mips_abi_string; /* for -mabi={32,n32,64} */
extern int mips_split_addresses; /* perform high/lo_sum support */
extern int dslots_load_total; /* total # load related delay slots */
--- 140,144 ----
extern char *mips_cpu_string; /* for -mcpu=<xxx> */
extern char *mips_isa_string; /* for -mips{1,2,3,4} */
! extern char *mips_abi_string; /* for -misa={32,n32,64} */
extern int mips_split_addresses; /* perform high/lo_sum support */
extern int dslots_load_total; /* total # load related delay slots */
-------------------------------------------------------------------------------
Lee Iverson SRI International
leei@ai.sri.com 333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/ (650) 859-3307
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems on SGI Irix 6.x.
1997-12-05 16:52 Problems on SGI Irix 6.x Lee Iverson
@ 1997-12-11 5:30 ` Swen Thuemmler
1997-12-11 10:01 ` Lee Iverson
0 siblings, 1 reply; 3+ messages in thread
From: Swen Thuemmler @ 1997-12-11 5:30 UTC (permalink / raw)
To: Lee Iverson; +Cc: egcs
On Fri, 5 Dec 1997, Lee Iverson wrote:
> 2) LONG_MAX is set completely wrong under Irix 6.x.
>
> Fixes for both problems are included below.
Your patch does not seem to fix it. The default is a LONG_MAX for
sizeof(long) == 8, but the default for sizeof(long) is 4. If i reverse the
patch below, all seems to be well.
Greetings, Swen
> diff -rpc2 ../DIST-egcs-snapshot/gcc/config/mips/abi64.h ./gcc/config/mips/abi64.h
> *** ../DIST-egcs-snapshot/gcc/config/mips/abi64.h Fri Dec 5 11:34:56 1997
> --- ./gcc/config/mips/abi64.h Wed Sep 17 17:31:49 1997
> *************** extern struct rtx_def *mips_function_val
> *** 215,219 ****
>
> #undef LONG_MAX_SPEC
> ! #define LONG_MAX_SPEC "%{mabi=64: %{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}}"
>
> /* ??? Unimplemented stuff follows. */
> --- 215,219 ----
>
> #undef LONG_MAX_SPEC
> ! #define LONG_MAX_SPEC "%{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems on SGI Irix 6.x.
1997-12-11 5:30 ` Swen Thuemmler
@ 1997-12-11 10:01 ` Lee Iverson
0 siblings, 0 replies; 3+ messages in thread
From: Lee Iverson @ 1997-12-11 10:01 UTC (permalink / raw)
To: Swen Thuemmler; +Cc: egcs
In message <Pine.GSO.3.96.971211141124.26932A-100000@cms-sec-es.uni-paderborn.d
e> you write:
> On Fri, 5 Dec 1997, Lee Iverson wrote:
>
> > 2) LONG_MAX is set completely wrong under Irix 6.x.
> >
> > Fixes for both problems are included below.
>
> Your patch does not seem to fix it. The default is a LONG_MAX for
> sizeof(long) == 8, but the default for sizeof(long) is 4. If i reverse the
> patch below, all seems to be well.
Swen picked up a massive boo-boo. The whole patch that I sent is
reversed. The correct one follows:
1997-12-05 Lee Iverson <leei@Canada.AI.SRI.COM>
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
*** config-ml.in.~1~ Thu Aug 21 15:57:38 1997
--- config-ml.in Fri Dec 5 11:49:08 1997
*************** multi-do:
*** 409,412 ****
--- 409,413 ----
LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
+ LDFLAGS="$(LDFLAGS) $${flags}" \
$(DO)); then \
true; \
1997-12-05 Lee Iverson <leei@Canada.AI.SRI.COM>
* mips/abi64.h (LONG_MAX_SPEC): Make redefinition conditional on
-mabi=64.
mips/mips.h (mips_abi_string): Minor comment fix.
*** gcc/config/mips/abi64.h.~1~ Wed Sep 17 17:31:49 1997
--- gcc/config/mips/abi64.h Fri Dec 5 11:34:56 1997
*************** extern struct rtx_def *mips_function_val
*** 215,219 ****
#undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}"
/* ??? Unimplemented stuff follows. */
--- 215,219 ----
#undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{mabi=64: %{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}}"
/* ??? Unimplemented stuff follows. */
*** gcc/config/mips/mips.h.~1~ Fri Nov 14 15:02:32 1997
--- gcc/config/mips/mips.h Fri Dec 5 11:35:10 1997
*************** extern int mips_isa; /* architectural
*** 140,144 ****
extern char *mips_cpu_string; /* for -mcpu=<xxx> */
extern char *mips_isa_string; /* for -mips{1,2,3,4} */
! extern char *mips_abi_string; /* for -misa={32,n32,64} */
extern int mips_split_addresses; /* perform high/lo_sum support */
extern int dslots_load_total; /* total # load related delay slots */
--- 140,144 ----
extern char *mips_cpu_string; /* for -mcpu=<xxx> */
extern char *mips_isa_string; /* for -mips{1,2,3,4} */
! extern char *mips_abi_string; /* for -mabi={32,n32,64} */
extern int mips_split_addresses; /* perform high/lo_sum support */
extern int dslots_load_total; /* total # load related delay slots */
-------------------------------------------------------------------------------
Lee Iverson SRI International
leei@ai.sri.com 333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/ (650) 859-3307
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-12-11 10:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-05 16:52 Problems on SGI Irix 6.x Lee Iverson
1997-12-11 5:30 ` Swen Thuemmler
1997-12-11 10:01 ` Lee Iverson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).