DataparkSearch и ubuntu 18.04

39 views
Skip to first unread message

Евгений К

unread,
Aug 15, 2020, 9:21:53 AM8/15/20
to DataparkSearch Engine

Наблюдается на нескольких машинах. Ошибка одна и та же.
2. ./configure --with-mysql (успешно)
3. make

```
In function 'memmove':
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: error: inlining failed in call to always_inline 'memcpy.localalias.0': function not inlinable
 __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
 ^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:38:1: note: called from this function
 __NTH (memmove (void *__dest, const void *__src, size_t __len))
 ^
dp.c: In function 'strcpy':
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:38:1: error: inlining failed in call to always_inline 'memmove': redefined extern inline functions are not considered for inlining
dp.c:117:22: note: called from here
 #define dps_memmove  memmove
                      ^
dp.c:170:10: note: in expansion of macro 'dps_memmove'
   return dps_memmove(dst0, src0, dps_strlen(src0) + 1);
          ^~~~~~~~~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ../include/dps_config.h:579,
                 from dp.c:113:
dp.c: In function 'dps_stpcpy':
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:38:1: error: inlining failed in call to always_inline 'memmove': redefined extern inline functions are not considered for inlining
 __NTH (memmove (void *__dest, const void *__src, size_t __len))
 ^
dp.c:117:22: note: called from here
 #define dps_memmove  memmove
                      ^
dp.c:201:5: note: in expansion of macro 'dps_memmove'
     dps_memmove(dst0, src0, n);
     ^~~~~~~~~~~
Makefile:1291: recipe for target 'dp.lo' failed
make[2]: *** [dp.lo] Error 1
make[2]: Leaving directory '/root/search/src'
Makefile:2339: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/search/src'
Makefile:520: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
```

Maxim Zakharov

unread,
Aug 15, 2020, 9:14:39 PM8/15/20
to DataparkSearch Engine
Привет,

не могли бы вы прислать мне файл config.log из директории, где запускается configure ?

Спасибо,
Максим

--
You received this message because you are subscribed to the Google Groups "DataparkSearch Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataparksearc...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dataparksearch/db8a48f2-a0cc-4288-8dce-322a3412fb60n%40googlegroups.com.


--

Maxim Zakharov

unread,
Aug 16, 2020, 5:17:55 AM8/16/20
to DataparkSearch Engine
Попробуйте сконфигурировать таким образом:
CFLAGS=-D_FORTIFY_SOURCE=0 ./configure --with-mysql 
после этого должно собраться без ошибок.
--

Евгений К

unread,
Aug 16, 2020, 6:09:30 PM8/16/20
to DataparkSearch Engine
Спасибо огромное! Собралось. Буду ковырять потихоньку. Вспомню, что делал ~ 10 лет назад. Интересно. )

воскресенье, 16 августа 2020 г. в 12:17:55 UTC+3, Maxime:
Reply all
Reply to author
Forward
0 new messages