Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Hello,
I am trying to build Facebook Folly library and I have this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #1 from Laurent Stacul ---
Created attachment 48015
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48015&action=edit
preprocessed sources
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #2 from Laurent Stacul ---
Created attachment 48016
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48016&action=edit
preprocessed sources
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #4 from Laurent Stacul ---
Well the problem of folly is that it requires lots of dependencies.
What I can do is to isolate the link command with the needed files. Amongst all
the link errors, you will get the described error.
As the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #5 from Laurent Stacul ---
I forgot to remove some arguments in the command:
/opt/1A/toolchain/x86_64-v20/bin/g++ \
-O3 -Wl,-flto -ffat-lto-objects -fuse-linker-plugin \
CacheLocalityTest.cpp.o -o cache_locality_test -L. lib
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699
--- Comment #1 from Laurent Stacul ---
Please note that reversing b and d works fine:
if (*b == *d) { // This does not work
if (*d == *b) { // This is ok
Regards,
Stac
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699
--- Comment #4 from Laurent Stacul ---
Sorry for this, I will follow your recommendations next time.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #7 from Laurent Stacul ---
Created attachment 48019
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48019&action=edit
preprocessed sources
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #9 from Laurent Stacul ---
Here is the command line:
g++ -E
-DFOLLY_XLOG_STRIP_PREFIXES=\"/home/docker/development/opensource-pack-builder/components/folly/BUILD/folly-2020.03.02.00:/home/docker/development/opensource-pack-builder/c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #12 from Laurent Stacul ---
Ok I think we will not waste time on this one. Actually, the build system
allows to force the standard version to build the libfolly.so (in out case
gnu++20) but somehow the tests are build with -std=gnu++1
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
Target Milestone: ---
Hello,
I have this piece of code:
#include
template
struct ref {
typedef T value_type;
typedef T* pointer;
typedef T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94164
--- Comment #2 from Laurent Stacul ---
(In reply to Jonathan Wakely from comment #1)
> That's not an iterator.
Yes sure. I reduced my example to have the minimal example. I will add all de
needed requirement of an iterator if needed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94164
Laurent Stacul changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
Target Milestone: ---
Hello,
Compiling the following reproducer with the gcc trunk and the option
-std=gnu++2a (c++2a), I get the following error:
#include
template
class A {
public
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
Target Milestone: ---
Hello,
I tried to compile Re2 (https://github.com/google/re2) with a close to HEAD
gcc:
g++ (GCC) 10.0.1 20200124
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93618
--- Comment #2 from Laurent Stacul ---
Ok. To ease your work I wrote this small reproducer:
#include
class A {
struct State {
int flag;
std::atomic next_[];
};
void state(int f) {
State s;
s.flag = f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93618
--- Comment #3 from Laurent Stacul ---
Created attachment 47795
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47795&action=edit
preprocessed sources
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
Target Milestone: ---
Hello,
With a HEAD of gcc:
gcc -v
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Hello,
With gcc (GCC) 10.0.1 20200211 and the following program:
#ifdef
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93609
--- Comment #6 from Laurent Stacul ---
Thanks very much for information!
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: laurent.stacul at gmail dot com
Target Milestone: ---
Hello,
The following code does not compile anymore with gcc 10 although it works in
9.2, 9.2, 8.x.
#include
#include
21 matches
Mail list logo