svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: "Adve, Vikram Sadanand" <vadve AT illinois.edu>
- To: "Criswell, John T" <criswell AT illinois.edu>
- Cc: "<svadev AT cs.uiuc.edu>" <svadev AT cs.uiuc.edu>
- Subject: [svadev] Fwd: svadev post from cieniuch77 AT gmail.com requires approval
- Date: Thu, 18 Jul 2013 16:44:23 +0000
- Accept-language: en-US
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev/>
- List-id: <svadev.cs.uiuc.edu>
Why is svadev set to members-only posting? I like the llvmdev policy better: anyone can post but replies only go to the list, so there is strong incentive to join the list if you want to ask questions.
--Vikram Adve
Professor, Department of Computer Science
University of Illinois at Urbana-Champaign
vadve AT illinois.edu
Begin forwarded message:
From: <svadev-owner AT cs.uiuc.edu>
Subject: svadev post from cieniuch77 AT gmail.com requires approval
Date: July 18, 2013 11:36:43 AM CDT
As list administrator, your authorization is requested for the
following mailing list posting:
List: svadev AT cs.uiuc.edu
From: cieniuch77 AT gmail.com
Subject: fmemsafety option and optimization level
Reason: Post by non-member to a members-only list
At your convenience, visit:
http://lists.cs.uiuc.edu/mailman/admindb/svadev
to approve or deny the request.
From: Krzysztof Cieniuch <cieniuch77 AT gmail.com>
Subject: fmemsafety option and optimization level
Date: July 18, 2013 11:35:45 AM CDT
To: <svadev AT cs.uiuc.edu>
Hi,
I'm using CentOS 6.3, clang version 3.2 with latest ld checked out from cvs
I followed instructions on wiki and installed clang with lto (gold plugin)
I'm having troubles compiling this simple program:
#include<string>
#include<map>
#include<iostream>
using namespace std;
int main(int argc,char** argv){
map<string,int> themap;
string test(argv[0]);
themap["key1"]=1;
cout << test << endl;
return 0;
}
clang++ -g -O2 -flto -use-gold-plugin -fmemsafety -o main main.cc -L /opt/SAFECode/lib
FIXME: Ignoring global of size zero: @_ZNSs4_Rep20_S_empty_rep_storageE = external global [0 x i64]
lto-llvm.o-O8q9Q2:ld-temp.o:TargetList: error: undefined reference to 'std::string::_S_compare(unsigned long, unsigned long)'
lto-llvm.o-O8q9Q2:ld-temp.o:TargetList1: error: undefined reference to 'std::string::_S_compare(unsigned long, unsigned long)'
If I remove -O2 option it links fine.
What's strange if you comment out line: themap["key1"]=1; it will compile.
What even more strange :-) if you comment out: cout << test << endl; instead it will also compile any ideas ?
Is this bug in clang ld or libstdc++ on centos 6.3 or combination of all.
Thanks
Krzysztof
From: <svadev-request AT cs.uiuc.edu>
Subject: confirm fc0c7bd496728a23df097e51d741e135e270cd13
Date: July 18, 2013 11:36:43 AM CDT
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
- [svadev] Fwd: svadev post from cieniuch77 AT gmail.com requires approval, Adve, Vikram Sadanand, 07/18/2013
- Re: [svadev] Fwd: svadev post from cieniuch77 AT gmail.com requires approval, John Criswell, 07/18/2013
Archive powered by MHonArc 2.6.16.