Alright, so I've built gcc 4.6.2 from source, and was not able to reproduce this off trunk. This must be an issue unique to the Amazon Linux AMI.
On Tue, Dec 11, 2012 at 10:37 AM, Jim Donahue <[email protected]> wrote: > Thanks!**** > > ** ** > > ** ** > > Jim**** > > ** ** > > *From:* Benjamin Mahler [mailto:[email protected]] > *Sent:* Tuesday, December 11, 2012 10:36 AM > > *To:* Jim Donahue > *Subject:* Re: Another problem building on Amazon Linux**** > > ** ** > > Aha. In that case I'll find a 4.6.2 package and get it compiling.**** > > ** ** > > On Tue, Dec 11, 2012 at 10:16 AM, Jim Donahue <[email protected]> wrote:* > *** > > “yum update” doesn’t work – it just says there’s nothing to do.**** > > **** > > I did find this on the Amazon Linux AMI release notes page ( > http://aws.amazon.com/amazon-linux-ami/2012.03-release-notes/ ):**** > > **** > GCC 4.6**** > > While GCC 4.4.6 remains the default, we have included GCC 4.6.2, > specifically for use on EC2 instances that support AVX. Run yum install > gcc46 in order to get the packages. GCC 4.6 enables the Amazon Linux AMI > to take advantage of the AVX support available on > cc2.8xlarge<http://aws.amazon.com/ec2/instance-types/>instance types. > **** > > **** > > That’s why I’m getting 4.6.2. So I guess if you want people to be able to > build an Amazon AMI running Mesos, 4.6.3 isn’t an option. L**** > > **** > > **** > > Jim**** > > **** > > *From:* Benjamin Mahler [mailto:[email protected]] > *Sent:* Tuesday, December 11, 2012 9:43 AM > *To:* Jim Donahue**** > > > *Subject:* Re: Another problem building on Amazon Linux**** > > **** > > Hm.. interesting that yum is installing 4.6.2**** > > **** > > I'm not familiar with yum, but from a cursory search, maybe this helps?*** > * > > $ sudo yum update gcc-c++**** > > **** > > On Mon, Dec 10, 2012 at 5:21 PM, Jim Donahue <[email protected]> wrote:** > ** > > I'm happy to, but I'm a real Linux novice. What I'm doing now is just > getting gcc by using > > yum install gcc-c++ > > What would I have to do to get 4.6.3? If it's simple, I'll turn the crank > tomorrow morning.**** > > > > Jim > > -----Original Message----- > From: Benjamin Mahler [mailto:[email protected]]**** > > Sent: Monday, December 10, 2012 5:01 PM > To: [email protected] > Subject: Re: Another problem building on Amazon Linux > > That may unblock you if you're willing to give it a shot. I occasionally > test with 4.6.3 so it's likely to have trunk broken less often. > > > On Mon, Dec 10, 2012 at 4:30 PM, Jim Donahue <[email protected]> wrote: > > > It is gcc 4.6.2. If it's easier to get me running 4.6.3, I'm more than > > willing to do that! I just took what Amazon provides as the default in > > their image ... > > > > > > Jim > > > > -----Original Message----- > > From: Benjamin Mahler [mailto:[email protected]] > > Sent: Monday, December 10, 2012 4:19 PM > > To: [email protected] > > Subject: Re: Another problem building on Amazon Linux > > > > Ok weird, I can't reproduce this with gcc 4.6.3 (on Ubuntu 12.04), I'll > > have to try 4.6.2. But first, can you confirm that's what you're running? > > > > > > On Mon, Dec 10, 2012 at 3:55 PM, Jim Donahue <[email protected]> wrote: > > > > > I didn't either ... :-) > > > > > > > > > Jim > > > > > > -----Original Message----- > > > From: Benjamin Mahler [mailto:[email protected]] > > > Sent: Monday, December 10, 2012 3:51 PM > > > To: [email protected] > > > Subject: Re: Another problem building on Amazon Linux > > > > > > Hey Jim, > > > > > > Thanks for checking the fix, looks like I'll have to actually install > 4.6 > > > so I can fix all the issues (didn't realize there were many warnings). > > > > > > > > > On Mon, Dec 10, 2012 at 3:01 PM, Jim Donahue <[email protected]> > wrote: > > > > > > > I patched the previous problem to get past it. This one has no > popped > > up > > > > ... > > > > > > > > > > > > files/files.cpp: In member function > > > > 'process::Future<process::http::Response> > > > > mesos::internal::FilesProcess::read(const process::http::Request&)': > > > > > > > > files/files.cpp:275:56: error: no matching function for call to > > > > 'min(ssize_t&, long int)' > > > > > > > > files/files.cpp:275:56: note: candidates are: > > > > > > > > > > > > > > /usr/lib/gcc/i686-amazon-linux/4.6.2/../../../../include/c++/4.6.2/bits/stl_algobase.h:187:5: > > > > note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) > > > > > > > > > > > > > > /usr/lib/gcc/i686-amazon-linux/4.6.2/../../../../include/c++/4.6.2/bits/stl_algobase.h:233:5: > > > > note: template<class _Tp, class _Compare> const _Tp& std::min(const > > _Tp&, > > > > const _Tp&, _Compare) > > > > > > > > make[2]: *** [files/libmesos_no_third_party_la-files.lo] Error 1 > > > > > > > > Thanks, > > > > > > > > Jim Donahue > > > > > > > > Adobe > > > > > > > > >**** > > **** > > ** ** >
