pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29645: x11/py-Tk uses optimizer flag when calling ld



>Number:         29645
>Category:       pkg
>Synopsis:       x11/py-Tk uses optimizer flag when calling ld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 09 22:13:00 +0000 2005
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
It looks like x11/py-Tk passes CFLAGS directly to the linker:

creating build/lib.irix-5.3-2.3
ld -shared -L/usr/local/pkg/lib/python2.3/config 
-Wl,-rpath,/usr/local/pkg/lib/python2.3/config -Wl,-rpath,/usr/local/pkg/lib 
-L/usr/lib32 -Wl,-rpath,/usr/lib32 -O2 -O2 -mips2 -I/usr/local/pkg/include 
-I/usr/local/pkg/include/python2.3 -I/usr/include -I/usr/local/pkg/include 
-I/usr/local/pkg/include/python2.3 -I/usr/include 
build/temp.irix-5.3-2.3/Modules/_tkinter.o 
build/temp.irix-5.3-2.3/Modules/tkappinit.o -L/usr/local/pkg/lib -L/usr/lib 
-R/lib -R/lib -R/usr/lib -ltk -ltcl -lX11 -o build/lib.irix-5.3-2.3/_tkinter.so 
-L/usr/local/pkg/lib/python2.3/config 
-Wl,-rpath,/usr/local/pkg/lib/python2.3/config -Wl,-rpath,/usr/local/pkg/lib 
-L/usr/lib32 -Wl,-rpath,/usr/lib32
/usr/bin/../lib/ld:
Unknown flag: -O2
/usr/bin/../lib/ld: Usage: /usr/bin/../lib/ld [options] file [...]
error: command 'ld' failed with exit status 1

>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index