Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Error while compiling trunk with gcc 4.2.0
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
 
Ricardo Martins  
View profile  
 More options Jun 9 2007, 10:19 am
From: Ricardo Martins <meqif.kicks....@gmail.com>
Date: Sat, 09 Jun 2007 14:19:10 -0000
Local: Sat, Jun 9 2007 10:19 am
Subject: Error while compiling trunk with gcc 4.2.0
Hi everyone,

I'm getting this error when I compile the latest/tip trunk.

gcc -o lib/libzpool/build-user/dmu.o -c -pipe -Wall -Werror -std=c99 -
Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -
fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -
DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -Ilib/libavl/include -Ilib/
libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -
Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/dmu.c
cc1: warnings being treated as errors
lib/libzpool/dmu.c: In function 'dmu_write':
lib/libzpool/dmu.c:433: warning: passing argument 6 of
'dmu_buf_hold_array' discards qualifiers from pointer target type
scons: *** [lib/libzpool/build-user/dmu.o] Error 1
scons: building terminated because of errors.

Gcc 4.2.0 on Arch Linux. I also tried compiling this on another Arch
box, gcc 4.1.2 20070423 (prerelease), and had success.

Regards,
Ricardo Martins


    Reply to author    Forward  
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.
Ricardo Correia  
View profile  
 More options Jun 11 2007, 4:59 pm
From: Ricardo Correia <rcorr...@wizy.org>
Date: Mon, 11 Jun 2007 21:59:34 +0100
Local: Mon, Jun 11 2007 4:59 pm
Subject: Re: [zfs-fuse] Error while compiling trunk with gcc 4.2.0

On Saturday 09 June 2007 15:19:10 Ricardo Martins wrote:

> Gcc 4.2.0 on Arch Linux. I also tried compiling this on another Arch
> box, gcc 4.1.2 20070423 (prerelease), and had success.

Yeap, gcc 4.2 is not supported yet. I received a patch from Michał Kowalczuk
(which I have attached), but I haven't tested it. It seems it was made
against zfs-fuse 0.4.0 beta1, so some tweaking might be required.

  zfs-fuse-0.4.0_beta1-gcc4.2.patch
6K Download

    Reply to author    Forward  
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.
Discussion subject changed to "Fwd: [zfs-fuse] Error while compiling trunk with gcc 4.2.0" by Ricardo Martins
Ricardo Martins  
View profile  
 More options Jun 13 2007, 6:48 am
From: "Ricardo Martins" <meqif.kicks....@gmail.com>
Date: Wed, 13 Jun 2007 11:48:58 +0100
Local: Wed, Jun 13 2007 6:48 am
Subject: Fwd: [zfs-fuse] Error while compiling trunk with gcc 4.2.0

Oops, I forgot to cc this to the ML.


    Reply to author    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google