RBTree on Linux

本文介绍了Linux内核中红黑树的数据结构实现及其核心操作,包括插入、删除等,并提供了关键函数的源代码分析。

linux下内核中本来就有rbtree的实现。在做语义分析的时候,完全可以将所有的符号表组织成一个红黑树。

 

以下复制于linux内核中的rbtree.h以及rbtree.c

 

rbtree.h

 

#ifndef    _LINUX_RBTREE_H
#define    _LINUX_RBTREE_H

#include <linux/kernel.h>
#include <linux/stddef.h>

struct rb_node
{
    unsigned long  rb_parent_color;
#define    RB_RED        0
#define    RB_BLACK    1
    struct rb_node *rb_right;
    struct rb_node *rb_left;
} __attribute__((aligned(sizeof(long))));
    /* The alignment might seem pointless, but allegedly CRIS needs it */

struct rb_root
{
    struct rb_node *rb_node;
};


#define rb_parent(r)   ((struct rb_node *)((r)->rb_parent_color & ~3))
#define rb_color(r)   ((r)->rb_parent_color & 1)
#define rb_is_red(r)   (!rb_color(r))
#define rb_is_black(r) rb_color(r)
#define rb_set_red(r)  do { (r)->rb_parent_color &= ~1; } while (0)
#define rb_set_black(r)  do { (r)->rb_parent_color |= 1; } while (0)

static inline void rb_set_parent(struct rb_node *rb, struct rb_node *p)
{
    rb->rb_parent_color = (rb->rb_parent_color & 3) | (unsigned long)p;
}
static inline void rb_set_color(struct rb_node *rb, int color)
{
    rb->rb_parent_color = (rb->rb_parent_color & ~1) | color;
}

#define RB_ROOT    (struct rb_root) { NULL, }
#define    rb_entry(ptr, type, member) container_of(ptr, type, member)

#define RB_EMPTY_ROOT(root)    ((root)->rb_node == NULL)
#define RB_EMPTY_NODE(node)    (rb_parent(node) == node)
#define RB_CLEAR_NODE(node)    (rb_set_parent(node, node))

extern void rb_insert_color(struct rb_node *, struct rb_root *);
extern void rb_erase(struct rb_node *, struct rb_root *);

/* Find logical next and previous nodes in a tree */
extern struct rb_node *rb_next(const struct rb_node *);
extern struct rb_node *rb_prev(const struct rb_node *);
extern struct rb_node *rb_first(const struct rb_root *);
extern struct rb_node *rb_last(const struct rb_root *);

/* Fast replacement of a single node without remove/rebalance/add/rebalance */
extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
                struct rb_root *root);

static inline void rb_link_node(struct rb_node * node, struct rb_node * parent,
                struct rb_node ** rb_link)
{
    node->rb_parent_color = (unsigned long )parent;
    node->rb_left = node->rb_right = NULL;

    *rb_link = node;
}

#endif    /* _LINUX_RBTREE_H */

==============================================================

rbtree.c

 

/*
  Red Black Trees
  (C) 1999  Andrea Arcangeli <andrea@suse.de>
  (C) 2002  David Woodhouse <dwmw2@infradead.org>
 
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

  linux/lib/rbtree.c
*/

#include <linux/rbtree.h>
#include <linux/module.h>

static void __rb_rotate_left(struct rb_node *node, struct rb_root *root)
{
    struct rb_node *right = node->rb_right;
    struct rb_node *parent = rb_parent(node);

    if ((node->rb_right = right->rb_left))
        rb_set_parent(right->rb_left, node);
    right->rb_left = node;

    rb_set_parent(right, parent);

    if (parent)
    {
        if (node == parent->rb_left)
            parent->rb_left = right;
        else
            parent->rb_right = right;
    }
    else
        root->rb_node = right;
    rb_set_parent(node, right);
}

static void __rb_rotate_right(struct rb_node *node, struct rb_root *root)
{
    struct rb_node *left = node->rb_left;
    struct rb_node *parent = rb_parent(node);

    if ((node->rb_left = left->rb_right))
        rb_set_parent(left->rb_right, node);
    left->rb_right = node;

    rb_set_parent(left, parent);

    if (parent)
    {
        if (node == parent->rb_right)
            parent->rb_right = left;
        else
            parent->rb_left = left;
    }
    else
        root->rb_node = left;
    rb_set_parent(node, left);
}

void rb_insert_color(struct rb_node *node, struct rb_root *root)
{
    struct rb_node *parent, *gparent;

    while ((parent = rb_parent(node)) && rb_is_red(parent))
    {
        gparent = rb_parent(parent);

        if (parent == gparent->rb_left)
        {
            {
                register struct rb_node *uncle = gparent->rb_right;
                if (uncle && rb_is_red(uncle))
                {
                    rb_set_black(uncle);
                    rb_set_black(parent);
                    rb_set_red(gparent);
                    node = gparent;
                    continue;
                }
            }

            if (parent->rb_right == node)
            {
                register struct rb_node *tmp;
                __rb_rotate_left(parent, root);
                tmp = parent;
                parent = node;
                node = tmp;
            }

            rb_set_black(parent);
            rb_set_red(gparent);
            __rb_rotate_right(gparent, root);
        } else {
            {
                register struct rb_node *uncle = gparent->rb_left;
                if (uncle && rb_is_red(uncle))
                {
                    rb_set_black(uncle);
                    rb_set_black(parent);
                    rb_set_red(gparent);
                    node = gparent;
                    continue;
                }
            }

            if (parent->rb_left == node)
            {
                register struct rb_node *tmp;
                __rb_rotate_right(parent, root);
                tmp = parent;
                parent = node;
                node = tmp;
            }

            rb_set_black(parent);
            rb_set_red(gparent);
            __rb_rotate_left(gparent, root);
        }
    }

    rb_set_black(root->rb_node);
}
EXPORT_SYMBOL(rb_insert_color);

static void __rb_erase_color(struct rb_node *node, struct rb_node *parent,
                 struct rb_root *root)
{
    struct rb_node *other;

    while ((!node || rb_is_black(node)) && node != root->rb_node)
    {
        if (parent->rb_left == node)
        {
            other = parent->rb_right;
            if (rb_is_red(other))
            {
                rb_set_black(other);
                rb_set_red(parent);
                __rb_rotate_left(parent, root);
                other = parent->rb_right;
            }
            if ((!other->rb_left || rb_is_black(other->rb_left)) &&
                (!other->rb_right || rb_is_black(other->rb_right)))
            {
                rb_set_red(other);
                node = parent;
                parent = rb_parent(node);
            }
            else
            {
                if (!other->rb_right || rb_is_black(other->rb_right))
                {
                    rb_set_black(other->rb_left);
                    rb_set_red(other);
                    __rb_rotate_right(other, root);
                    other = parent->rb_right;
                }
                rb_set_color(other, rb_color(parent));
                rb_set_black(parent);
                rb_set_black(other->rb_right);
                __rb_rotate_left(parent, root);
                node = root->rb_node;
                break;
            }
        }
        else
        {
            other = parent->rb_left;
            if (rb_is_red(other))
            {
                rb_set_black(other);
                rb_set_red(parent);
                __rb_rotate_right(parent, root);
                other = parent->rb_left;
            }
            if ((!other->rb_left || rb_is_black(other->rb_left)) &&
                (!other->rb_right || rb_is_black(other->rb_right)))
            {
                rb_set_red(other);
                node = parent;
                parent = rb_parent(node);
            }
            else
            {
                if (!other->rb_left || rb_is_black(other->rb_left))
                {
                    rb_set_black(other->rb_right);
                    rb_set_red(other);
                    __rb_rotate_left(other, root);
                    other = parent->rb_left;
                }
                rb_set_color(other, rb_color(parent));
                rb_set_black(parent);
                rb_set_black(other->rb_left);
                __rb_rotate_right(parent, root);
                node = root->rb_node;
                break;
            }
        }
    }
    if (node)
        rb_set_black(node);
}

void rb_erase(struct rb_node *node, struct rb_root *root)
{
    struct rb_node *child, *parent;
    int color;

    if (!node->rb_left)
        child = node->rb_right;
    else if (!node->rb_right)
        child = node->rb_left;
    else
    {
        struct rb_node *old = node, *left;

        node = node->rb_right;
        while ((left = node->rb_left) != NULL)
            node = left;
        child = node->rb_right;
        parent = rb_parent(node);
        color = rb_color(node);

        if (child)
            rb_set_parent(child, parent);
        if (parent == old) {
            parent->rb_right = child;
            parent = node;
        } else
            parent->rb_left = child;

        node->rb_parent_color = old->rb_parent_color;
        node->rb_right = old->rb_right;
        node->rb_left = old->rb_left;

        if (rb_parent(old))
        {
            if (rb_parent(old)->rb_left == old)
                rb_parent(old)->rb_left = node;
            else
                rb_parent(old)->rb_right = node;
        } else
            root->rb_node = node;

        rb_set_parent(old->rb_left, node);
        if (old->rb_right)
            rb_set_parent(old->rb_right, node);
        goto color;
    }

    parent = rb_parent(node);
    color = rb_color(node);

    if (child)
        rb_set_parent(child, parent);
    if (parent)
    {
        if (parent->rb_left == node)
            parent->rb_left = child;
        else
            parent->rb_right = child;
    }
    else
        root->rb_node = child;

 color:
    if (color == RB_BLACK)
        __rb_erase_color(child, parent, root);
}
EXPORT_SYMBOL(rb_erase);

/*
 * This function returns the first node (in sort order) of the tree.
 */
struct rb_node *rb_first(const struct rb_root *root)
{
    struct rb_node    *n;

    n = root->rb_node;
    if (!n)
        return NULL;
    while (n->rb_left)
        n = n->rb_left;
    return n;
}
EXPORT_SYMBOL(rb_first);

struct rb_node *rb_last(const struct rb_root *root)
{
    struct rb_node    *n;

    n = root->rb_node;
    if (!n)
        return NULL;
    while (n->rb_right)
        n = n->rb_right;
    return n;
}
EXPORT_SYMBOL(rb_last);

struct rb_node *rb_next(const struct rb_node *node)
{
    struct rb_node *parent;

    if (rb_parent(node) == node)
        return NULL;

    /* If we have a right-hand child, go down and then left as far
       as we can. */
    if (node->rb_right) {
        node = node->rb_right;
        while (node->rb_left)
            node=node->rb_left;
        return (struct rb_node *)node;
    }

    /* No right-hand children.  Everything down and left is
       smaller than us, so any 'next' node must be in the general
       direction of our parent. Go up the tree; any time the
       ancestor is a right-hand child of its parent, keep going
       up. First time it's a left-hand child of its parent, said
       parent is our 'next' node. */
    while ((parent = rb_parent(node)) && node == parent->rb_right)
        node = parent;

    return parent;
}
EXPORT_SYMBOL(rb_next);

struct rb_node *rb_prev(const struct rb_node *node)
{
    struct rb_node *parent;

    if (rb_parent(node) == node)
        return NULL;

    /* If we have a left-hand child, go down and then right as far
       as we can. */
    if (node->rb_left) {
        node = node->rb_left;
        while (node->rb_right)
            node=node->rb_right;
        return (struct rb_node *)node;
    }

    /* No left-hand children. Go up till we find an ancestor which
       is a right-hand child of its parent */
    while ((parent = rb_parent(node)) && node == parent->rb_left)
        node = parent;

    return parent;
}
EXPORT_SYMBOL(rb_prev);

void rb_replace_node(struct rb_node *victim, struct rb_node *new,
             struct rb_root *root)
{
    struct rb_node *parent = rb_parent(victim);

    /* Set the surrounding nodes to point to the replacement */
    if (parent) {
        if (victim == parent->rb_left)
            parent->rb_left = new;
        else
            parent->rb_right = new;
    } else {
        root->rb_node = new;
    }
    if (victim->rb_left)
        rb_set_parent(victim->rb_left, new);
    if (victim->rb_right)
        rb_set_parent(victim->rb_right, new);

    /* Copy the pointers/colour from the victim to the replacement */
    *new = *victim;
}
EXPORT_SYMBOL(rb_replace_node);

代码转载自:https://pan.quark.cn/s/7f503284aed9 Hibernate的核心组件总数达到五个,具体包括:Session、SessionFactory、Transaction、Query以及Configuration。 这五个核心组件在各类开发项目中都具有普遍的应用性。 借助这些组件,不仅可以高效地进行持久化对象的读取与存储,还能够实现事务管理功能。 接下来将通过图形化的方式,逐一阐述这五个核心组件的具体细节。 依据所提供的文件内容,可以总结出以下几个关键知识点:### 1. SSH框架详细架构图尽管标题提及“SSH框架详细架构图”,但在描述部分并未直接呈现关于SSH的详细内容,而是转向介绍了Hibernate的核心接口。 然而,在此我们可以简要概述SSH框架(涵盖Spring、Struts、Hibernate)的核心理念及其在Java开发中的具体作用。 #### Spring框架- **定义**:Spring框架是一个开源架构,其设计目标在于简化企业级应用的开发流程。 - **特点**: - **分层结构**:该框架允许开发者根据实际需求选择性地采纳部分组件,而非强制使用全部功能。 - **可复用性**:Spring框架支持创建可在不同开发环境中重复利用的业务逻辑和数据访问组件。 - **核心构成**: - **核心容器**:该部分包含了Spring框架的基础功能,其核心在于`BeanFactory`,该组件通过工厂模式运作,并借助控制反转(IoC)理念,将配置和依赖管理与具体的应用代码进行有效分离。 - **Spring上下文**:提供一个配置文件,其中整合了诸如JNDI、EJB、邮件服务、国际化支持等企业级服务。 - **Spring AO...
1008: Collecting package info: package/feeds/packages/libgpg-error 行 3001: checking how gcc reports undeclared, standard C functions... error 行 3265: checking whether pthread_sigmask returns error numbers... yes 行 7203: Applying ./patches/040-Fix-error-handling-with-git-style-patches.patch using plaintext: 行 9520: checking whether pthread_sigmask returns error numbers... yes 行 31773: CC error.c 行 32559: configure.ac:3: error: Autoconf version 2.71 or higher is required 行 32562: aclocal.real: error: echo failed with exit status: 63 行 33489: checking for C compiler option to allow warnings... -Wno-error 行 33490: checking for C++ compiler option to allow warnings... -Wno-error 行 33782: checking whether pthread_sigmask returns error numbers... yes 行 35552: on -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: ign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: -unsuffixed-float-constants -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: s -O2 -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35552: ect/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -MT libgnulib_a-xstrtol-error.o -MD -MP -MF .deps/libgnulib_a-xstrtol-error.Tpo -c -o libgnulib_a-xstrtol-error.o `test -f 'xstrtol-error.c' || echo './'`xstrtol-error.c 行 35593: mv -f .deps/libgnulib_a-xstrtol-error.Tpo .deps/libgnulib_a-xstrtol-error.Po 行 35593: mv -f .deps/libgnulib_a-xstrtol-error.Tpo .deps/libgnulib_a-xstrtol-error.Po 行 35614: gnulib_a-version-etc.o libgnulib_a-version-etc-fsf.o libgnulib_a-wctype-h.o libgnulib_a-xmalloc.o libgnulib_a-xalloc-die.o libgnulib_a-xgetcwd.o libgnulib_a-xsize.o libgnulib_a-xstrtod.o libgnulib_a-xstrtol.o libgnulib_a-xstrtoul.o libgnulib_a-xstrtol-error.o libgnulib_a-xstrtoumax.o libgnulib_a-yesno.o asnprintf.o mktime.o printf-args.o printf-parse.o strerror_r.o vasnprintf.o 行 36027: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36030: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36033: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36036: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36039: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36042: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36045: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36048: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36051: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36054: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36057: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36060: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36063: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36066: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36069: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36072: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36075: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36078: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36081: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36084: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36087: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36090: gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -DIN_FINDUTILS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gl/lib -I./../gl/lib -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/host/include -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36095: gcc -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 36096: gcc -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -O2 -I/home/ ... 行 39183: 399 | throw Exception("SetCoderProperties() error"); 行 39187: 416 | throw Exception("Write error while encoding"); 行 39194: 440 | throw Exception("Read error"); 行 39197: 442 | throw Exception("Read error"); 行 39200: 444 | throw Exception("SetDecoderProperties() error"); 行 39203: 451 | throw Exception("Read error"); 行 39206: 453 | throw Exception("Read error"); 行 39209: 459 | throw Exception("Decoder error"); 行 41201: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/706-net-phy-at803x-fix-probe-error-if-copper-page-is-sel.patch using plaintext: 行 41340: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/733-v5.15-0001-net-bgmac-bcma-handle-deferred-probe-error-due-to-ma.patch using plaintext: 行 41365: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-05-net-dsa-qca8k-handle-error-with-qca8k_read-operation.patch using plaintext: 行 41368: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-06-net-dsa-qca8k-handle-error-with-qca8k_write-operatio.patch using plaintext: 行 41371: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-07-net-dsa-qca8k-handle-error-with-qca8k_rmw-operation.patch using plaintext: 行 41374: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/735-v5.14-08-net-dsa-qca8k-handle-error-from-qca8k_busy_wait.patch using plaintext: 行 41433: Applying /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/target/linux/generic/backport-5.10/736-v5.14-net-dsa-qca8k-fix-missing-unlock-on-error-in-qca8k-vlan.patch using plaintext: 行 43079: HDRINST usr/include/linux/can/error.h 行 44816: [0/15] Building C object CMakeFiles/nl-tiny.dir/error.c.o 行 44827: [1/15] Building C object CMakeFiles/nl-tiny.dir/error.c.o 行 53012: [0/14] Building C object CMakeFiles/jansson.dir/src/error.c.o 行 53023: [1/14] Building C object CMakeFiles/jansson.dir/src/error.c.o 行 53038: inlined from 'jsonp_error_set_source' at /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c:17:6: 行 53039: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c:25:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 行 53040: 25 | strncpy(error->source, source, length + 1); 行 53042: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c: In function 'jsonp_error_set_source': 行 53043: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/jansson-2.13.1/src/error.c:23:14: note: length computed here 行 54868: [13/317] Building C object library/CMakeFiles/mbedcrypto_static.dir/error.c.o 行 54929: [44/317] Building C object library/CMakeFiles/mbedcrypto_static.dir/error.c.o 行 55058: [108/317] Building C object library/CMakeFiles/mbedcrypto.dir/error.c.o 行 55113: [136/317] Building C object library/CMakeFiles/mbedcrypto.dir/error.c.o 行 55483: -- Installing: /home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/build_dir/target-arm-mix510-linux_musl/mbedtls-2.28.5/ipkg-install/usr/include/mbedtls/error.h 行 58608: 98: Invalid property in CSS3.0: --error-color-high-rgb 行 58609: 99: Invalid property in CSS3.0: --error-color-high 行 58610: 100: Invalid property in CSS3.0: --error-color-medium 行 58611: 101: Invalid property in CSS3.0: --error-color-low 行 58612: 102: Invalid property in CSS3.0: --on-error-color 行 58636: 135: Invalid property in CSS3.0: --error-color-high-rgb 行 58637: 136: Invalid property in CSS3.0: --error-color-medium 行 58638: 137: Invalid property in CSS3.0: --error-color-low 行 58819: 98: Invalid property in CSS3.0: --error-color-high-rgb 行 58820: 99: Invalid property in CSS3.0: --error-color-high 行 58821: 100: Invalid property in CSS3.0: --error-color-medium 行 58822: 101: Invalid property in CSS3.0: --error-color-low 行 58823: 102: Invalid property in CSS3.0: --on-error-color 行 58847: 135: Invalid property in CSS3.0: --error-color-high-rgb 行 58848: 136: Invalid property in CSS3.0: --error-color-medium 行 58849: 137: Invalid property in CSS3.0: --error-color-low 行 59581: Applying ./patches/510-e_devcrypto-ignore-error-when-closing-session.patch using plaintext: 行 66479: /open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: g_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: ub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66479: r=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c -o libctf_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66507: lease/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66507: taging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66507: -arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66507: include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_la-ctf-error.o 行 66510: source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: -arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: tl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: t -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66510: -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c -o libctf_nobfd_la-ctf-error.lo `test -f 'ctf-error.c' || echo './'`ctf-error.c 行 66538: open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66538: arget-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66538: linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66538: Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -fPIC -DPIC -o .libs/libctf_nobfd_la-ctf-error.o 行 66554: lease/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66554: taging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66554: -arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66554: r/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_la-ctf-error.lo -MD -MP -MF .deps/libctf_la-ctf-error.Tpo -c ctf-error.c -o libctf_la-ctf-error.o >/dev/null 2>&1 行 66565: open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66565: arget-arm-mix510-linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66565: linux_musl/usr/lib/libintl-stub/include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66565: /include -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Wno-unused-value -MT libctf_nobfd_la-ctf-error.lo -MD -MP -MF .deps/libctf_nobfd_la-ctf-error.Tpo -c ctf-error.c -o libctf_nobfd_la-ctf-error.o >/dev/null 2>&1 行 66578: mv -f .deps/libctf_la-ctf-error.Tpo .deps/libctf_la-ctf-error.Plo 行 66578: mv -f .deps/libctf_la-ctf-error.Tpo .deps/libctf_la-ctf-error.Plo 行 66585: mv -f .deps/libctf_nobfd_la-ctf-error.Tpo .deps/libctf_nobfd_la-ctf-error.Plo 行 66585: mv -f .deps/libctf_nobfd_la-ctf-error.Tpo .deps/libctf_nobfd_la-ctf-error.Plo 行 66739: release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/lib -znow -zrelro -o libctf.la -rpath /usr/lib libctf_la-ctf-archive.lo libctf_la-ctf-dump.lo libctf_la-ctf-create.lo libctf_la-ctf-decl.lo libctf_la-ctf-error.lo libctf_la-ctf-hash.lo libctf_la-ctf-labels.lo libctf_la-ctf-dedup.lo libctf_la-ctf-link.lo libctf_la-ctf-lookup.lo libctf_la-ctf-open.lo libctf_la-ctf-serialize.lo libctf_la-ctf-sha1.lo libctf_la-ctf-string.lo libctf_la-ctf-subr.lo libctf_la-ctf-types.lo lib ... 行 66741: enwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/lib -znow -zrelro -o libctf-nobfd.la -rpath /usr/lib libctf_nobfd_la-ctf-archive.lo libctf_nobfd_la-ctf-dump.lo libctf_nobfd_la-ctf-create.lo libctf_nobfd_la-ctf-decl.lo libctf_nobfd_la-ctf-error.lo libctf_nobfd_la-ctf-hash.lo libctf_nobfd_la-ctf-labels.lo libctf_nobfd_la-ctf-dedup.lo libctf_nobfd_la-ctf-link.lo libctf_nobfd_la-ctf-lookup.lo libctf_nobfd_la-ctf-open.lo libctf_nobfd_la-ctf-serialize.lo libctf_nobfd_la-ctf-sha1.lo libctf_nobfd_la-ctf-stri ... 行 66742: OpenWrt-libtool-patched-2.2: link: arm-mix510-linux-gcc -shared -fPIC -DPIC .libs/libctf_nobfd_la-ctf-archive.o .libs/libctf_nobfd_la-ctf-dump.o .libs/libctf_nobfd_la-ctf-create.o .libs/libctf_nobfd_la-ctf-decl.o .libs/libctf_nobfd_la-ctf-error.o .libs/libctf_nobfd_la-ctf-hash.o .libs/libctf_nobfd_la-ctf-labels.o .libs/libctf_nobfd_la-ctf-dedup.o .libs/libctf_nobfd_la-ctf-link.o .libs/libctf_nobfd_la-ctf-lookup.o .libs/libctf_nobfd_la-ctf-open.o .libs/libctf_nobfd_la-ctf-serialize.o .libs/libctf_nobfd ... 行 66743: OpenWrt-libtool-patched-2.2: link: arm-mix510-linux-gcc -shared -fPIC -DPIC .libs/libctf_la-ctf-archive.o .libs/libctf_la-ctf-dump.o .libs/libctf_la-ctf-create.o .libs/libctf_la-ctf-decl.o .libs/libctf_la-ctf-error.o .libs/libctf_la-ctf-hash.o .libs/libctf_la-ctf-labels.o .libs/libctf_la-ctf-dedup.o .libs/libctf_la-ctf-link.o .libs/libctf_la-ctf-lookup.o .libs/libctf_la-ctf-open.o .libs/libctf_la-ctf-serialize.o .libs/libctf_la-ctf-sha1.o .libs/libctf_la-ctf-string.o .lib ... 行 66746: ax3000_lite_release/tools/cross_toolchain/arm-mix510-linux/arm-mix510-linux/bin/../libexec/gcc/arm-linux-musleabi/10.3.0/liblto_plugin.so rc .libs/libctf.a libctf_la-ctf-archive.o libctf_la-ctf-dump.o libctf_la-ctf-create.o libctf_la-ctf-decl.o libctf_la-ctf-error.o libctf_la-ctf-hash.o libctf_la-ctf-labels.o libctf_la-ctf-dedup.o libctf_la-ctf-link.o libctf_la-ctf-lookup.o libctf_la-ctf-open.o libctf_la-ctf-serialize.o libctf_la-ctf-sha1.o libctf_la-ctf-string.o libctf_la-ctf-subr.o libctf_la-ctf-types.o libctf_la-ctf-u ... 行 66751: chain/arm-mix510-linux/arm-mix510-linux/bin/../libexec/gcc/arm-linux-musleabi/10.3.0/liblto_plugin.so rc .libs/libctf-nobfd.a libctf_nobfd_la-ctf-archive.o libctf_nobfd_la-ctf-dump.o libctf_nobfd_la-ctf-create.o libctf_nobfd_la-ctf-decl.o libctf_nobfd_la-ctf-error.o libctf_nobfd_la-ctf-hash.o libctf_nobfd_la-ctf-labels.o libctf_nobfd_la-ctf-dedup.o libctf_nobfd_la-ctf-link.o libctf_nobfd_la-ctf-lookup.o libctf_nobfd_la-ctf-open.o libctf_nobfd_la-ctf-serialize.o libctf_nobfd_la-ctf-sha1.o libctf_nobfd_la-ctf-string.o libc ... 行 67889: checking error.h usability... no 行 67890: checking error.h presence... no 行 67891: checking for error.h... no 行 68023: sl/usr/lib/libiconv-stub/include -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68023: nclude -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68023: hile1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68023: rk/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib/libintl-stub/include -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c 行 68027: mv -f .deps/error.Tpo .deps/error.Po 行 68027: mv -f .deps/error.Tpo .deps/error.Po 行 68036: arm-mix510-linux-gcc-ar cr libeu.a xasprintf.o xstrdup.o xstrndup.o xmalloc.o next_prime.o crc32.o crc32_file.o color.o error.o printversion.o 行 72406: libnetlink.c:154:2: warning: #warning "libmnl required for error support" [-Wcpp] 行 72407: 154 | #warning "libmnl required for error support" 行 72868: libnetlink.c:154:2: warning: #warning "libmnl required for error support" [-Wcpp] 行 72869: 154 | #warning "libmnl required for error support" 行 79556: ft -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./error.c -o error.lo 行 79556: -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./error.c -o error.lo 行 79584: ormat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./drill/error.c -o drill/error.lo 行 79584: mat-security -fstack-protector-strong -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/include -c ./drill/error.c -o drill/error.lo 行 79589: aging_dir/target-arm-mix510-linux_musl/usr/lib -lssl -lcrypto -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la buffer.lo dane.lo dname.lo dnssec.lo dnssec_sign.lo dnssec_verify.lo dnssec_zone.lo duration.lo error.lo higher.lo host2str.lo host2wire.lo keys.lo net.lo packet.lo parse.lo radix.lo rbtree.lo rdata.lo resolver.lo rr.lo rr_functions.lo sha1.lo sha2.lo str2host.lo tsig.lo update.lo util.lo wire2host.lo zone.lo compat/b64_pton.lo compat/b64_ntop.lo -rpath /usr/li ... 行 79591: 510-linux_musl/usr/lib -znow -zrelro -L/home/while1/work/project/tmp/luofu_wrt_ax3000_lite_release/open_source/local/openwrt/openwrt/staging_dir/target-arm-mix510-linux_musl/usr/lib drill/chasetrace.lo drill/dnssec.lo drill/drill.lo drill/drill_util.lo drill/error.lo drill/root.lo drill/securetrace.lo drill/work.lo compat/b64_pton.lo compat/b64_ntop.lo libldns.la -lssl -lcrypto -o drill/drill 行 79596: for i in buffer.h dane.h dname.h dnssec.h dnssec_sign.h dnssec_verify.h dnssec_zone.h duration.h error.h higher.h host2str.h host2wire.h keys.h ldns.h packet.h parse.h radix.h rbtree.h rdata.h resolver.h rr_functions.h rr.h sha1.h sha2.h str2host.h tsig.h update.h wire2host.h zone.h; do \ 行 85945: Applying ./patches/0002-PATCH-Fix-error-introduced-in-51471cafa5a4fa44d6fe49.patch using plaintext: 行 91120: Use ioctl names rather than hex values in error messages (IOCTL_HEX2STR_ERROR) [Y/n/?] y 行 93643: collect2: error: ld returned 1 exit status 以上错误都报了那些错?
09-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值