[MacPorts] #32593: quartz-wm 1.2.1_0 does not build on PPC Leopard because of "ld: unknown option: -errwarn=E_NO_EXPLICIT_TYPE_GIVEN"

MacPorts noreply at macports.org
Mon Dec 19 04:23:16 PST 2011


#32593: quartz-wm 1.2.1_0 does not build on PPC Leopard because of "ld: unknown
option: -errwarn=E_NO_EXPLICIT_TYPE_GIVEN"
--------------------------------------+-------------------------------------
 Reporter:  Peter_Dyballa@…           |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.3                                
 Keywords:                            |        Port:  quartz-wm                            
--------------------------------------+-------------------------------------
 Here is the failure:

 {{{
 /usr/bin/gcc-4.0 -I/opt/local/include -I/opt/local/include/pixman-1
 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
 declarations -Wnested-externs -Wbad-function-cast -Wformat=2 -Wold-style-
 definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow
 -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-
 decls -Winline -errwarn=E_NO_EXPLICIT_TYPE_GIVEN
 -errwarn=E_NO_IMPLICIT_DECL_ALLOWED -errwarn=E_FUNC_HAS_NO_RETURN_STMT
 -errwarn=E_BAD_PTR_INT_COMBINATION -fno-strict-aliasing -O2 -arch ppc
 -L/opt/local/lib -lAppleWM -lpixman-1 -lX11 -lXext -lXinerama -lXrandr
 -framework AppKit -framework Foundation -framework ApplicationServices
 -L/opt/local/lib -arch ppc -o quartz-wm frame.o main.o utils.o x-input.o
 x-list.o x-screen.o x-selection.o x-window.o x11-geometry.o dock-support.o
 ld: unknown option: -errwarn=E_NO_EXPLICIT_TYPE_GIVEN
 collect2: ld returned 1 exit status
 make[3]: *** [quartz-wm] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.2.1/src'
 }}}

 I think all these -errwarn= options are dangerous for GCC 4.0.

-- 
Ticket URL: <https://trac.macports.org/ticket/32593>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list