Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25497 - [amd64] arts-1.1.3 does not compile on x86-64 due to G_VA_COPY macro problem
Summary: [amd64] arts-1.1.3 does not compile on x86-64 due to G_VA_COPY macro problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-29 04:00 UTC by andres.meyer
Modified: 2003-10-02 07:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.