Persistent build error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Persistent build error

Ben Laurie-3
I've been getting this error for the last few days:

gmake[3]: Entering directory
`/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils'
llvm[3]: Compiling AddrModeMatcher.cpp for Debug build
In file included from
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26,
                 from
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h:24,
                 from AddrModeMatcher.cpp:14:
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1934:
error: base `llvm::SDNode' with only non-default constructor in class
without a constructor

and, indeed, it appears to be true. Puzzled how this is building for
anyone else, and also not really much clue what to do to fix...
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Persistent build error

meilon
Have you fixed the problem already? I'm getting the same error on my Windows Vista x64 cygwin make
Ben Laurie-3 wrote
I've been getting this error for the last few days:

gmake[3]: Entering directory
`/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils'
llvm[3]: Compiling AddrModeMatcher.cpp for Debug build
In file included from
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26,
                 from
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h:24,
                 from AddrModeMatcher.cpp:14:
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1934:
error: base `llvm::SDNode' with only non-default constructor in class
without a constructor

and, indeed, it appears to be true. Puzzled how this is building for
anyone else, and also not really much clue what to do to fix...
_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Persistent build error

Ben Laurie-3


On Fri, Mar 6, 2009 at 4:59 PM, meilon <[hidden email]> wrote:

Have you fixed the problem already? I'm getting the same error on my Windows
Vista x64 cygwin make

Nope. Still there.
 


Ben Laurie-3 wrote:
>
> I've been getting this error for the last few days:
>
> gmake[3]: Entering directory
> `/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils'
> llvm[3]: Compiling AddrModeMatcher.cpp for Debug build
> In file included from
> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26,
>                  from
> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h:24,
>                  from AddrModeMatcher.cpp:14:
> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1934:
> error: base `llvm::SDNode' with only non-default constructor in class
> without a constructor
>
> and, indeed, it appears to be true. Puzzled how this is building for
> anyone else, and also not really much clue what to do to fix...
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>

--
View this message in context: http://www.nabble.com/Persistent-build-error-tp22352517p22376393.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Persistent build error

Tanya Lattner-2
In reply to this post by Ben Laurie-3

This should be fixed now. I verified it with 3.4.6 on a x86 linux box.

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090302/074769.html

I think most of our nightly testers are using gcc4.

-Tanya


On Thu, 5 Mar 2009, Ben Laurie wrote:

> I've been getting this error for the last few days:
>
> gmake[3]: Entering directory
> `/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils'
> llvm[3]: Compiling AddrModeMatcher.cpp for Debug build
> In file included from
> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26,
>                 from
> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h:24,
>                 from AddrModeMatcher.cpp:14:
> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1934:
> error: base `llvm::SDNode' with only non-default constructor in class
> without a constructor
>
> and, indeed, it appears to be true. Puzzled how this is building for
> anyone else, and also not really much clue what to do to fix...
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Persistent build error

Aaron Gray-3
In reply to this post by meilon
Oh by the way there are other Cygwin problems withthe SVN. I just fiex three
but AFAIK there is only one more to solve. dont know whether x64 will cause
any other problems though. Cygwin is a bit of a raw nerve.

Aaron


> Have you fixed the problem already? I'm getting the same error on my
> Windows
> Vista x64 cygwin make
>
> Ben Laurie-3 wrote:
>>
>> I've been getting this error for the last few days:
>>
>> gmake[3]: Entering directory
>> `/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils'
>> llvm[3]: Compiling AddrModeMatcher.cpp for Debug build
>> In file included from
>> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26,
>>                  from
>> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h:24,
>>                  from AddrModeMatcher.cpp:14:
>> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1934:
>> error: base `llvm::SDNode' with only non-default constructor in class
>> without a constructor
>>
>> and, indeed, it appears to be true. Puzzled how this is building for
>> anyone else, and also not really much clue what to do to fix...
>> _______________________________________________
>> LLVM Developers mailing list
>> [hidden email]         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Persistent-build-error-tp22352517p22376393.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev 

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Persistent build error

Ben Laurie-3
In reply to this post by Tanya Lattner-2
On Fri, Mar 6, 2009 at 7:34 PM, Tanya M. Lattner <[hidden email]> wrote:
>
> This should be fixed now. I verified it with 3.4.6 on a x86 linux box.
>
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090302/074769.html
>
> I think most of our nightly testers are using gcc4.

Works for me, thanks. Still a bit puzzled why this didn't break under
gcc4, though...

>
> -Tanya
>
>
> On Thu, 5 Mar 2009, Ben Laurie wrote:
>
>> I've been getting this error for the last few days:
>>
>> gmake[3]: Entering directory
>> `/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils'
>> llvm[3]: Compiling AddrModeMatcher.cpp for Debug build
>> In file included from
>> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26,
>>                 from
>> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h:24,
>>                 from AddrModeMatcher.cpp:14:
>> /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1934:
>> error: base `llvm::SDNode' with only non-default constructor in class
>> without a constructor
>>
>> and, indeed, it appears to be true. Puzzled how this is building for
>> anyone else, and also not really much clue what to do to fix...
>> _______________________________________________
>> LLVM Developers mailing list
>> [hidden email]         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Intrinsic & address space

Julien Schmitt-2
I would like to use intrinsic with different address space.
I defined an intrinsic (used to represent à specific instruction of my target) with a pointer in its arguments, but when calling this intrinsic, if the pointer is not in the generic address space (ie AddrSpace 0), an error occurs ("bad signature").

How can I specify the address space in the intrinsic definition ?
Thank you.


--
Julien Schmitt





CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Intrinsic & address space

Julien Schmitt-2
In reply to this post by Ben Laurie-3
I would like to use intrinsic with different address space.
I defined an intrinsic (used to represent à specific instruction of my target) with a pointer in its arguments, but when calling this intrinsic, if the pointer is not in the generic address space (ie AddrSpace 0), an error occurs ("bad signature").

How can I specify the address space in the intrinsic definition ?
Thank you.


--
Julien Schmitt


CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Intrinsic & address space

Luke Dalessandro-2
Julien Schmitt wrote:
> I would like to use intrinsic with different address space.
> I defined an intrinsic (used to represent à specific instruction of my target) with a pointer in its arguments, but when calling this intrinsic, if the pointer is not in the generic address space (ie AddrSpace 0), an error occurs ("bad signature").
>
> How can I specify the address space in the intrinsic definition ?
> Thank you.

Julien,

If the type of your parameter is llvm_anyptr_ty it should just work with
non-default address spaces. I don't immediately see anything actually
using this type though, so there may be a bug somewhere. I'd verify that
you have defined the intrinsic and then possibly post more information
to the list with more details or a test case if it still isn't working.

Luke

>
>
> --
> Julien Schmitt
>
>
> CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Intrinsic & address space

Mon Ping Wang-2

They should be working as the binary atomics use that mechanism.  
Whatever frontend is generating the  LLVM IR for the intrinsics needs  
to pass the pointer type to get the correct declaration, e.g.,
   llvm::Intrinsic::getDeclaration(Module, IntrinsicID, Tys, NumTys);

Based on the pointer type, the llvm IR will encode the address space  
into the intrinsic, e.g.,
   $result1 = call i32 @llvm.atomic.load.add.i32.p0i32( i32* %ptr, i32  
4) // address space 0
   $result2 = call i32 @llvm.atomic.load.add.i32.p1i32( i32* %ptr, i32  
4) // address space 1

If no Tys are passed, it will default to address space 0.

-- Mon Ping

On Mar 9, 2009, at 4:42 PM, Luke Dalessandro wrote:

> Julien Schmitt wrote:
>> I would like to use intrinsic with different address space.
>> I defined an intrinsic (used to represent à specific instruction of  
>> my target) with a pointer in its arguments, but when calling this  
>> intrinsic, if the pointer is not in the generic address space (ie  
>> AddrSpace 0), an error occurs ("bad signature").
>>
>> How can I specify the address space in the intrinsic definition ?
>> Thank you.
>
> Julien,
>
> If the type of your parameter is llvm_anyptr_ty it should just work  
> with
> non-default address spaces. I don't immediately see anything actually
> using this type though, so there may be a bug somewhere. I'd verify  
> that
> you have defined the intrinsic and then possibly post more information
> to the list with more details or a test case if it still isn't  
> working.
>
> Luke
>
>>
>>
>> --
>> Julien Schmitt
>>
>>
>> CONFIDENTIAL NOTICE: The contents of this message, including any  
>> attachments, are confidential and are intended solely for the use  
>> of the person or entity to whom the message was addressed. If you  
>> are not the intended recipient of this message, please be advised  
>> that any dissemination, distribution, or use of the contents of  
>> this message is strictly prohibited. If you received this message  
>> in error, please notify the sender. Please also permanently delete  
>> all copies of the original message and any attached documentation.  
>> Thank you.
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> [hidden email]         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Intrinsic & address space

Julien Schmitt-2
In reply to this post by Luke Dalessandro-2
Ok thank you for the tip Luke; I understand my problem ... now it's working well

--
Julien Schmitt

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Luke Dalessandro
Sent: Tuesday, March 10, 2009 12:42 AM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Intrinsic & address space


Julien Schmitt wrote:
> I would like to use intrinsic with different address space.
> I defined an intrinsic (used to represent à specific instruction of my target) with a pointer in its arguments, but when calling this intrinsic, if the pointer is not in the generic address space (ie AddrSpace 0), an error occurs ("bad signature").
>
> How can I specify the address space in the intrinsic definition ?
> Thank you.

Julien,

If the type of your parameter is llvm_anyptr_ty it should just work with
non-default address spaces. I don't immediately see anything actually
using this type though, so there may be a bug somewhere. I'd verify that
you have defined the intrinsic and then possibly post more information
to the list with more details or a test case if it still isn't working.

Luke

>
>
> --
> Julien Schmitt
>
>
> CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev