[Python-bugs-list] [ python-Bugs-748928 ] last threads fixes broke linker
SourceForge.net
noreply@sourceforge.net
Tue, 17 Jun 2003 13:38:22 -0700
Bugs item #748928, was opened at 2003-06-04 17:25
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=748928&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Mokrejs (mmokrejs)
Assigned to: Nobody/Anonymous (nobody)
Summary: last threads fixes broke linker
Initial Comment:
In current cvs, -pthread and -ieee is properly set for
OSF1/Tru64Unix. Unfortunately, -ieee is somewhat passed
to linker:
building '_curses' extension
cc -pthread -DNDEBUG -O -ieee -std -Olimit 1500 -I.
-I/mnt/python/dist/src/./Include
-I/software/@sys/usr/include -I/usr/local/include
-I/mnt/python/dist/src/Include -I/mnt/python/dist/src
-c /mnt/python/dist/src/Modules/_cursesmodule.c -o
build/temp.osf1-V5.1-alpha-2.3/_cursesmodule.o
ld -shared -expect_unresolved * -ieee -std -Olimit 1500
-DNDEBUG -O -I. -I./Include
build/temp.osf1-V5.1-alpha-2.3/_cursesmodule.o
-L/software/@sys/usr/lib -L/usr/local/lib -lncurses -o
build/lib.osf1-V5.1-alpha-2.3/_curses.so
ld:
-ieee: Unknown flag
ld: Usage: ld [options] file [...]
building '_curses_panel' extension
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-06-17 22:38
Message:
Logged In: YES
user_id=21627
I see; -ieee is indeed passed to ld. I am a programmer, but
I cannot develop on Tru64. So we have to wait until a
programmer with access to Tru64 shows up.
----------------------------------------------------------------------
Comment By: Martin Mokrejs (mmokrejs)
Date: 2003-06-17 15:29
Message:
Logged In: YES
user_id=696559
Actually, I don't know why -ieee is needed, I'm not a
programmer, sorry. The manpage cc(1) says:
-ieee
Ensure support of all portable features of the IEEE
Standard for Binary
Floating-Point Arithmetic (ANSI/IEEE Std 754-1985),
including the
treatment of denormalized numbers, NaNs, and
infinities and the han-
dling of error cases. This option also sets the
_IEEE_FP C preprocessor
macro.
If your program must use IEEE signaling features that
are not portable
across different IEEE implementations, see the ieee(3)
reference page
for a discussion of how to access them under the Tru64
UNIX operating
system.
Yes, -ieee is not listed in mapage for ld(1). I do not have
an access to that machine probably for a whole week, but are
you sure the -ieee is not in teh generated Makefiles passed
inside some variable to linker directly?
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-06-14 08:40
Message:
Logged In: YES
user_id=21627
Is it not the case that cc(1) supports -ieee? If so, why
does it then pass the option to ld?
Perhaps it depends on the cc version whether -ieee is
supported? Perhaps the compiler should be invoked with a
different name?
Please don't make us guess as to how your operating system
works. If you can contribute to a solution, that would be
much appreciated.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=748928&group_id=5470