Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 11:40:49 +0200 (CEST)
From:      esk@ira.uka.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19846: Compiling Xmms hangs with old compilers
Message-ID:  <200007110940.LAA07247@i30nb2.ira.uka.de>

next in thread | raw e-mail | index | archive | help

>Number:         19846
>Category:       ports
>Synopsis:       Compiling Xmms hangs with old compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 11 02:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Espen Skoglund
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Universität Karlsruhe
>Environment:

Environments with older versions of gcc (version 2.7 something, I'm not
really sure).

>Description:

This one has been solved before.  For some reason older versions of gcc
hangs when trying to compile a `.s' file.  Everything works fine when one
tries to compile the same file when it is named `.S'.  I resolved this in
Xmms back in February, but some of the Xmms team changed it back to the old
behaviour (i.e., with an `.s' sufffix) because of problems with non-gcc
Solaris compilers.

Anyone got any idea of how to solve this in a clean manner in the main Xmms
tree.  If so, I'll be happy to patch it in.

>How-To-Repeat:

	

>Fix:

For now, the following patch to audio/xmms/Makefile does the trick.


*** Makefile.org	Tue Jul 11 11:24:32 2000
--- Makefile	Tue Jul 11 11:24:37 2000
***************
*** 81,84 ****
--- 81,92 ----
  	@${ECHO_MSG}
  .endif
  
+ post-extract:
+ 	(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \
+ 	  ${MV} getbits.s getbits.S && cd ${WRKSRC}/Visualization/blur_scope && \
+ 	  ${MV} blur_8.s blur_8.S);
+ 	${PERL} -pi.bak -e 's:\.s :\.S :g' ${WRKSRC}/Input/mpg123/Makefile.in
+ 	${PERL} -pi.bak -e 's:blur_8.s:blur_8.S:g' \
+ 	  ${WRKSRC}/Visualization/blur_scope/Makefile.in
+ 
  .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007110940.LAA07247>