Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 25497

Summary: [amd64] arts-1.1.3 does not compile on x86-64 due to G_VA_COPY macro problem
Product: Gentoo Linux Reporter: andres.meyer
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: enhancement CC: amd64
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description andres.meyer 2003-07-29 04:00:17 UTC
arts does not use the standard glib.h macros (why?) but uses its own defs. It compiles after this 
patch: 
--- ../../../../foo/arts-1.1.3/work/arts-1.1.3/flow/gsl/gslglib.h       2003-07-13 
21:33:38.000000000 +0200 
+++ flow/gsl/gslglib.h  2003-07-29 11:53:38.149635240 +0200 
@@ -506,5 +506,5 @@ 
  */ 
 #if !defined (G_VA_COPY) 
-#  if defined (__GNUC__) && ( defined (__PPC__) || defined (__s390__) ) && (defined 
(_CALL_SYSV) || defined (_WIN32) || defined (__s390__) ) 
+#  if defined (__GNUC__) && (defined (__x86_64__) || defined (__PPC__) || defined 
(__s390__) ) && (defined (_CALL_SYSV) || defined (_WIN32) || defined (__s390__) || defined 
(__x86_64__)) 
 #    define G_VA_COPY(ap1, ap2)   (*(ap1) = *(ap2)) 
 #  elif defined (G_VA_COPY_AS_ARRAY) 
 

Reproducible: Always
Steps to Reproduce:
1. emerge arts-1.1.3 
2. 
3. 
Actual Results:  
assignment problem in G_VA_COPY macro -> no compilation 


using x86-64, 2.6.0-test1-3 (ak), ~amd64, trying to get kde working.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-10-02 07:20:39 UTC
This is resolved in the latest 1.1.4 arts - patch has been added.