[Python-bugs-list] [ python-Bugs-748928 ] last threads fixes broke linker

SourceForge.net noreply@sourceforge.net
Fri, 13 Jun 2003 23:40:23 -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-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