* [devel] gcc4.8 bad, bad @ 2014-02-26 4:09 ` REAL 2014-02-26 12:09 ` Dmitry V. Levin 2014-02-27 2:26 ` Dmitry V. Levin 0 siblings, 2 replies; 11+ messages in thread From: REAL @ 2014-02-26 4:09 UTC (permalink / raw) To: ALT Linux Team development discussions Привет! Что-то с нашим gcc4.8 очень не так: -------- Исходное сообщение -------- Тема: coin3d-3.1.3-alt8: Sisyphus/i586 test rebuild failed [1] Дата: Tue, 25 Feb 2014 14:05:04 +0000 (UTC) От: ALT beekeeper <hiver@altlinux.org> Отвечать: devel@lists.altlinux.org Кому: real@altlinux.org,qa@packages.altlinux.org Копия: hiver@altlinux.org Package: coin3d-3.1.3-alt8 Status: Sisyphus/i586 test rebuild failed Cannot build this package for 1 week(s). Please investigate. Excerpt from build log: [...] i586-alt-linux-g++ -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/directfb -fpermissive -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses -c freetype.cpp -fPIC -DPIC -o .libs/freetype.o In file included from ../../src/base/dict.h:31:0, from freetype.cpp:142: /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long long int)': /usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here abs(long __i) { return __builtin_labs(__i); } ^ [...] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-26 4:09 ` [devel] gcc4.8 bad, bad REAL @ 2014-02-26 12:09 ` Dmitry V. Levin 2014-02-27 0:56 ` REAL 2014-02-27 2:26 ` Dmitry V. Levin 1 sibling, 1 reply; 11+ messages in thread From: Dmitry V. Levin @ 2014-02-26 12:09 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1692 bytes --] On Wed, Feb 26, 2014 at 11:09:00AM +0700, REAL wrote: > Привет! > > Что-то с нашим gcc4.8 очень не так: > > -------- Исходное сообщение -------- > Тема: coin3d-3.1.3-alt8: Sisyphus/i586 test rebuild failed [1] > Дата: Tue, 25 Feb 2014 14:05:04 +0000 (UTC) > От: ALT beekeeper <hiver@altlinux.org> > Отвечать: devel@lists.altlinux.org > Кому: real@altlinux.org,qa@packages.altlinux.org > Копия: hiver@altlinux.org > > Package: coin3d-3.1.3-alt8 > Status: Sisyphus/i586 test rebuild failed > Cannot build this package for 1 week(s). > Please investigate. > Excerpt from build log: > > [...] > i586-alt-linux-g++ -DHAVE_CONFIG_H -I../../include -I../../include > -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL > -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/directfb > -fpermissive -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual > -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts > -Wparentheses -c freetype.cpp -fPIC -DPIC -o .libs/freetype.o > In file included from ../../src/base/dict.h:31:0, > from freetype.cpp:142: > /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long > long int)': > /usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function > 'long long int std::abs(long long int)' conflicts with > abs(long long __x) { return __builtin_llabs (__x); } > ^ > /usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long > int std::abs(long int)' here > abs(long __i) { return __builtin_labs(__i); } > ^ > [...] Зачем вы включили макрос __CORRECT_ISO_CPP_STDLIB_H_PROTO? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-26 12:09 ` Dmitry V. Levin @ 2014-02-27 0:56 ` REAL 0 siblings, 0 replies; 11+ messages in thread From: REAL @ 2014-02-27 0:56 UTC (permalink / raw) To: ALT Linux Team development discussions 26.02.2014 19:09, Dmitry V. Levin пишет: >> -------- Исходное сообщение -------- >> Тема: coin3d-3.1.3-alt8: Sisyphus/i586 test rebuild failed [1] >> Дата: Tue, 25 Feb 2014 14:05:04 +0000 (UTC) >> От: ALT beekeeper <hiver@altlinux.org> >> Отвечать: devel@lists.altlinux.org >> Кому: real@altlinux.org,qa@packages.altlinux.org >> Копия: hiver@altlinux.org >> >> Package: coin3d-3.1.3-alt8 >> Status: Sisyphus/i586 test rebuild failed >> Cannot build this package for 1 week(s). >> Please investigate. >> Excerpt from build log: >> >> [...] >> i586-alt-linux-g++ -DHAVE_CONFIG_H -I../../include -I../../include >> -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL >> -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/directfb >> -fpermissive -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual >> -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts >> -Wparentheses -c freetype.cpp -fPIC -DPIC -o .libs/freetype.o >> In file included from ../../src/base/dict.h:31:0, >> from freetype.cpp:142: >> /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long >> long int)': >> /usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function >> 'long long int std::abs(long long int)' conflicts with >> abs(long long __x) { return __builtin_llabs (__x); } >> ^ >> /usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long >> int std::abs(long int)' here >> abs(long __i) { return __builtin_labs(__i); } >> ^ >> [...] > > Зачем вы включили макрос __CORRECT_ISO_CPP_STDLIB_H_PROTO? Не включал. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-26 4:09 ` [devel] gcc4.8 bad, bad REAL 2014-02-26 12:09 ` Dmitry V. Levin @ 2014-02-27 2:26 ` Dmitry V. Levin 2014-02-27 2:29 ` REAL 2014-02-27 7:40 ` [devel] gcc4.8 bad, bad REAL 1 sibling, 2 replies; 11+ messages in thread From: Dmitry V. Levin @ 2014-02-27 2:26 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1353 bytes --] On Wed, Feb 26, 2014 at 11:09:00AM +0700, REAL wrote: > Package: coin3d-3.1.3-alt8 > Status: Sisyphus/i586 test rebuild failed > Cannot build this package for 1 week(s). > Please investigate. > Excerpt from build log: > > [...] > i586-alt-linux-g++ -DHAVE_CONFIG_H -I../../include -I../../include > -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL > -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/directfb > -fpermissive -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual > -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts > -Wparentheses -c freetype.cpp -fPIC -DPIC -o .libs/freetype.o > In file included from ../../src/base/dict.h:31:0, > from freetype.cpp:142: > /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long > long int)': > /usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function > 'long long int std::abs(long long int)' conflicts with > abs(long long __x) { return __builtin_llabs (__x); } > ^ > /usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long > int std::abs(long int)' here > abs(long __i) { return __builtin_labs(__i); } > ^ > [...] У вас там код, эквивалентный extern "C" { #include <cstdlib> } - он и не компилируется. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-27 2:26 ` Dmitry V. Levin @ 2014-02-27 2:29 ` REAL 2014-02-27 7:50 ` Michael Shigorin 2014-02-27 7:40 ` [devel] gcc4.8 bad, bad REAL 1 sibling, 1 reply; 11+ messages in thread From: REAL @ 2014-02-27 2:29 UTC (permalink / raw) To: ALT Linux Team development discussions 27.02.2014 09:26, Dmitry V. Levin пишет: > У вас там код, эквивалентный > > extern "C" { > #include <cstdlib> > } Вы хотели сказать "у апстрима"? > - он и не компилируется. Почему же gcc4.7 спокойно это проглатывал? PS. Вообще с этим gcc4.8 куча всего сломалась. Подозрительно. Неужели надо всё это чинить, а не починить как следует gcc4.8? -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-27 2:29 ` REAL @ 2014-02-27 7:50 ` Michael Shigorin 2014-02-27 7:51 ` REAL 0 siblings, 1 reply; 11+ messages in thread From: Michael Shigorin @ 2014-02-27 7:50 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Feb 27, 2014 at 09:29:12AM +0700, REAL wrote: > Почему же gcc4.7 спокойно это проглатывал? > PS. Вообще с этим gcc4.8 куча всего сломалась. Подозрительно. > Неужели надо всё это чинить, а не починить как следует gcc4.8? Как обычно, сперва http://gcc.gnu.org/gcc-4.8/porting_to.html -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-27 7:50 ` Michael Shigorin @ 2014-02-27 7:51 ` REAL 2014-02-27 8:23 ` Sergey Y. Afonin 2014-02-27 11:10 ` [devel] gcc4.8 bad Michael Shigorin 0 siblings, 2 replies; 11+ messages in thread From: REAL @ 2014-02-27 7:51 UTC (permalink / raw) To: ALT Linux Team development discussions 27.02.2014 14:50, Michael Shigorin пишет: >> Почему же gcc4.7 спокойно это проглатывал? >> PS. Вообще с этим gcc4.8 куча всего сломалась. Подозрительно. >> Неужели надо всё это чинить, а не починить как следует gcc4.8? > > Как обычно, сперва http://gcc.gnu.org/gcc-4.8/porting_to.html Хорошо, гляну. Но, по-моему, это плохая практика, когда с каждой новой версией нужно адаптировать весь (почти) софт. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-27 7:51 ` REAL @ 2014-02-27 8:23 ` Sergey Y. Afonin 2014-02-27 11:10 ` [devel] gcc4.8 bad Michael Shigorin 1 sibling, 0 replies; 11+ messages in thread From: Sergey Y. Afonin @ 2014-02-27 8:23 UTC (permalink / raw) To: ALT Linux Team development discussions On Thursday 27 February 2014, REAL wrote: > Хорошо, гляну. Но, по-моему, это плохая практика, когда с > каждой новой версией нужно адаптировать весь (почти) софт. Очевидно вопрос в том, как он написан изначально. Вроде бы, мне ни одного отчёта о проблемах пересборки не упало пока. Даже про древний utftpd. -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad 2014-02-27 7:51 ` REAL 2014-02-27 8:23 ` Sergey Y. Afonin @ 2014-02-27 11:10 ` Michael Shigorin 1 sibling, 0 replies; 11+ messages in thread From: Michael Shigorin @ 2014-02-27 11:10 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Feb 27, 2014 at 02:51:52PM +0700, REAL wrote: > >>Неужели надо всё это чинить, а не починить как следует gcc4.8? > >Как обычно, сперва http://gcc.gnu.org/gcc-4.8/porting_to.html > Хорошо, гляну. Но, по-моему, это плохая практика, когда с > каждой новой версией нужно адаптировать весь (почти) софт. Ломают обычно сознательно и то, что было написано абы как. В зависимости от апстрима можно подождать новой версии, посмотреть *-gcc48.patch в других дистрибутивах, починить или проигнорировать. -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-27 2:26 ` Dmitry V. Levin 2014-02-27 2:29 ` REAL @ 2014-02-27 7:40 ` REAL 2014-02-27 10:17 ` Dmitry V. Levin 1 sibling, 1 reply; 11+ messages in thread From: REAL @ 2014-02-27 7:40 UTC (permalink / raw) To: ALT Linux Team development discussions 27.02.2014 09:26, Dmitry V. Levin пишет: >> In file included from ../../src/base/dict.h:31:0, >> from freetype.cpp:142: >> /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long >> long int)': >> /usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function >> 'long long int std::abs(long long int)' conflicts with >> abs(long long __x) { return __builtin_llabs (__x); } >> ^ >> /usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long >> int std::abs(long int)' here >> abs(long __i) { return __builtin_labs(__i); } >> ^ >> [...] > > У вас там код, эквивалентный > > extern "C" { > #include <cstdlib> > } > > - он и не компилируется. Нет, я проверил, ничего такого там нет. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] gcc4.8 bad, bad 2014-02-27 7:40 ` [devel] gcc4.8 bad, bad REAL @ 2014-02-27 10:17 ` Dmitry V. Levin 0 siblings, 0 replies; 11+ messages in thread From: Dmitry V. Levin @ 2014-02-27 10:17 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1102 bytes --] On Thu, Feb 27, 2014 at 02:40:36PM +0700, REAL wrote: > 27.02.2014 09:26, Dmitry V. Levin пишет: > >>In file included from ../../src/base/dict.h:31:0, > >> from freetype.cpp:142: > >>/usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long > >>long int)': > >>/usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function > >>'long long int std::abs(long long int)' conflicts with > >> abs(long long __x) { return __builtin_llabs (__x); } > >> ^ > >>/usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long > >>int std::abs(long int)' here > >> abs(long __i) { return __builtin_labs(__i); } > >> ^ > >>[...] > > > >У вас там код, эквивалентный > > > >extern "C" { > >#include <cstdlib> > >} > > > >- он и не компилируется. > > Нет, я проверил, ничего такого там нет. Значит, плохо проверяли: у вас в freetype.cpp написано #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ ... #include "base/dict.h" А в base/dict.h, в свою очередь, написано #include <cstdlib> -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-02-27 11:10 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-02-26 4:09 ` [devel] gcc4.8 bad, bad REAL 2014-02-26 12:09 ` Dmitry V. Levin 2014-02-27 0:56 ` REAL 2014-02-27 2:26 ` Dmitry V. Levin 2014-02-27 2:29 ` REAL 2014-02-27 7:50 ` Michael Shigorin 2014-02-27 7:51 ` REAL 2014-02-27 8:23 ` Sergey Y. Afonin 2014-02-27 11:10 ` [devel] gcc4.8 bad Michael Shigorin 2014-02-27 7:40 ` [devel] gcc4.8 bad, bad REAL 2014-02-27 10:17 ` Dmitry V. Levin
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git