Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Compilation problems under Linux
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nicolas Buduroi  
View profile   Translate to Translated (View Original)
 More options Jul 7 2011, 3:17 pm
From: Nicolas Buduroi <nbudu...@gmail.com>
Date: Thu, 7 Jul 2011 12:17:29 -0700 (PDT)
Local: Thurs, Jul 7 2011 3:17 pm
Subject: Compilation problems under Linux

Hi, I'm having trouble compiling the latest stable version of REE (2011.03)
under ArchLinux x86_64, with GCC 4.6.1 and glibc 2.14. Here the error:

make libtcmalloc_minimal.la
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I./src  -I./src   -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc
-fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc
-fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign
-fno-builtin-valloc -fno-builtin-pvalloc  -DNO_FRAME_POINTER -g -O2 -c -o
libtcmalloc_minimal_la-tcmalloc.lo `test -f 'src/tcmalloc.cc' || echo
'./'`src/tcmalloc.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src
-DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc
-fno-builtin-pvalloc -DNO_FRAME_POINTER -g -O2 -c src/tcmalloc.cc  -fPIC
-DPIC -o .libs/libtcmalloc_minimal_la-tcmalloc.o
src/tcmalloc.cc:1672:54: error: conflicting declaration ‘void* (*
__memalign_hook)(size_t, size_t, const void*)’
/usr/include/malloc.h:183:39: error: ‘__memalign_hook’ has a previous
declaration as ‘void* (* volatile __memalign_hook)(size_t, size_t, const
void*)’
make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1

I've then tried out the github HEAD, which doesn't contain this error, but
there another one. The compiler complained about a callback.func and
cbtable.func files containing serious syntax errors. I had a look at them
and they appear to be a big problem with the generators. After reviewing
those they didn't seemed to be anything wrong so I called the generators
manually and the result .func files are now valid and REE could be compiled
correctly. I've attached the diff of the .func file to this message.

  callback.diff
3K Download

  cbtable.diff
1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben  
View profile  
 More options Jul 25 2011, 5:59 pm
From: Ben <googlegro...@benhamill.com>
Date: Mon, 25 Jul 2011 14:59:44 -0700 (PDT)
Local: Mon, Jul 25 2011 5:59 pm
Subject: Re: Compilation problems under Linux
I have this problem, too, but these patches (at least when installing
via rvm) seems broken in some way that I can't determine. I downloaded
them and ran:

$ rvm install ree-1.8.7-head --patch ./callback.diff,./cbtable.diff

But it errored out and the logs for both say "**** Only garbage was
found in the patch input."

I'm also on x86_64 Arch with gcc 4.6.1 and glibc 2.14. Any further
suggestions? Thanks.

Ben

On Jul 7, 2:17 pm, Nicolas Buduroi <nbudu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Дмитрий Дудин  
View profile   Translate to Translated (View Original)
 More options Apr 7 2012, 3:01 am
From: Дмитрий Дудин <dima.du...@gmail.com>
Date: Sat, 7 Apr 2012 00:01:35 -0700 (PDT)
Local: Sat, Apr 7 2012 3:01 am
Subject: Re: Compilation problems under Linux

I have this problem too.

пятница, 8 июля 2011 г., 2:17:29 UTC+7 пользователь Nicolas Buduroi написал:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »