Skip to contentSkip to conversation

master does not compile

DISCUSSION Luis Pabon 3 participants 5 messages Jun 26, 2014

lore
Share & tools
lore

Luis Pabon

author
#0 lore raw

I hit this issue just now (Fedora 20). Please confirm that this happens in other systems. Travis may be able to at least help do sanity tests.

- Luis

CXX librados/librados_la-RadosClient.lo
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error: 'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error: 'galois_init_default_field' was not declared in this scope
     int r = galois_init_default_field(w[i]);
                                           ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_generic_la-ErasureCodePluginJerasure.lo] Error 1 make[3]: *** Waiting for unfinished jobs....
make[3]: *** [erasure-code/jerasure/libec_jerasure_sse3_la-ErasureCodePluginJerasure.lo] Error 1 erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error: 'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_sse4_la-ErasureCodePluginJerasure.lo] Error 1 make[3]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make: *** [all-recursive] Error 1

$ git log --oneline -3
959d664 Merge pull request #2032 from sponce/wip-fixstriperoni386
a5f9a09 Fixed build on 32 bits platforms
f5a72b7 Added a couple of ASSERTS for avoiding coverity to complain about the possibility of a division by 0
#1 lore raw

Looking at our gitbuilder page, we haven't built Ceph on Fedora for a while, but it's fine elsewhere. And the Fedora issues look to be some config issue; it never actually makes it to the compilation stage...
http://ceph.com/gitbuilder.cgi
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 52 lines · Luis Pabon

I hit this issue just now (Fedora 20). Please confirm that this happens in other systems. Travis may be able to at least help do sanity tests.

- Luis

CXX librados/librados_la-RadosClient.lo
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_generic_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [erasure-code/jerasure/libec_jerasure_sse3_la-ErasureCodePluginJerasure.lo] Error 1
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_sse4_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make: *** [all-recursive] Error 1

$ git log --oneline -3
959d664 Merge pull request #2032 from sponce/wip-fixstriperoni386
a5f9a09 Fixed build on 32 bits platforms
f5a72b7 Added a couple of ASSERTS for avoiding coverity to complain about
the possibility of a division by 0

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Luis Pabon
Quoted 2 lines · Luis Pabon

I hit this issue just now (Fedora 20). Please confirm that this happens in other systems. Travis may be able to at least help do sanity tests.

You may need to do

git submodule update

? I believe this change relied on a new commit in the gf-complete submodule.

sage

Quoted 52 lines

- Luis

CXX librados/librados_la-RadosClient.lo
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_generic_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [erasure-code/jerasure/libec_jerasure_sse3_la-ErasureCodePluginJerasure.lo] Error 1
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

     int r = galois_init_default_field(w[i]);
                                           ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_sse4_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make: *** [all-recursive] Error 1

$ git log --oneline -3
959d664 Merge pull request #2032 from sponce/wip-fixstriperoni386
a5f9a09 Fixed build on 32 bits platforms
f5a72b7 Added a couple of ASSERTS for avoiding coverity to complain about the
possibility of a division by 0

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#3 lore raw

Sweet! That worked. Should we put that as part of the do_autogen.sh?

- Luis

Quoted 63 lines · Sage Weil
Quoted 2 lines · Luis Pabon

I hit this issue just now (Fedora 20). Please confirm that this happens in other systems. Travis may be able to at least help do sanity tests.

You may need to do

git submodule update

? I believe this change relied on a new commit in the gf-complete submodule.

sage

Quoted 51 lines

- Luis

CXX librados/librados_la-RadosClient.lo
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

      int r = galois_init_default_field(w[i]);
                                            ^

erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

      int r = galois_init_default_field(w[i]);
                                            ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_generic_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [erasure-code/jerasure/libec_jerasure_sse3_la-ErasureCodePluginJerasure.lo] Error 1
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

      int r = galois_init_default_field(w[i]);
                                            ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_sse4_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make: *** [all-recursive] Error 1

$ git log --oneline -3
959d664 Merge pull request #2032 from sponce/wip-fixstriperoni386
a5f9a09 Fixed build on 32 bits platforms
f5a72b7 Added a couple of ASSERTS for avoiding coverity to complain about the
possibility of a division by 0

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 1 line · Luis Pabon

Sweet! That worked. Should we put that as part of the do_autogen.sh?

Probably, since that is only run ~once and the submodules update semi-regularly. It pops up in git status or gitk or git gui when there is a change...

sage

Quoted 76 lines

- Luis

Quoted 4 lines · Sage Weil
Quoted 3 lines · Luis Pabon

I hit this issue just now (Fedora 20). Please confirm that this happens in
other systems. Travis may be able to at least help do sanity tests.

Quoted 61 lines

You may need to do

git submodule update

? I believe this change relied on a new commit in the gf-complete submodule.

sage

Quoted 52 lines

- Luis

CXX librados/librados_la-RadosClient.lo
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

      int r = galois_init_default_field(w[i]);
                                            ^

erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

      int r = galois_init_default_field(w[i]);
                                            ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_generic_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [erasure-code/jerasure/libec_jerasure_sse3_la-ErasureCodePluginJerasure.lo] Error 1
erasure-code/jerasure/ErasureCodePluginJerasure.cc: In function 'int __erasure_code_init(char*)':
erasure-code/jerasure/ErasureCodePluginJerasure.cc:78:43: error:
'galois_init_default_field' was not declared in this scope

      int r = galois_init_default_field(w[i]);
                                            ^

make[3]: *** [erasure-code/jerasure/libec_jerasure_sse4_la-ErasureCodePluginJerasure.lo] Error 1
make[3]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/lpabon/git/ceph/ceph/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/lpabon/git/ceph/ceph/src'
make: *** [all-recursive] Error 1

$ git log --oneline -3
959d664 Merge pull request #2032 from sponce/wip-fixstriperoni386
a5f9a09 Fixed build on 32 bits platforms
f5a72b7 Added a couple of ASSERTS for avoiding coverity to complain about
the
possibility of a division by 0

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html