* Yocto build error
@ 2021-10-11 1:45 Jupiter
2021-10-11 7:59 ` [yocto] " Alexander Kanavin
2021-10-11 17:29 ` Khem Raj
0 siblings, 2 replies; 4+ messages in thread
From: Jupiter @ 2021-10-11 1:45 UTC (permalink / raw)
To: yocto
Hi,
I have following errors:
No GNU_HASH in the ELF binary
/build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/solar/1.0.0-0/packages-split/wifi_signal,
didn't pass LDFLAGS? [ldflags]
So I add --hash-style=gnu to my Makefile:
LD_FLAGS += --hash-style=gnu
LDFLAGS = LD_FLAGS
But that does not work:
arm-oe-linux-gnueabi-gcc: error: unrecognized command line option
'--hash-style=gnu'
What is wrong about the error if the --hash-style=gnu is not the right fix?
Thank you.
Kind regards.
JH
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Yocto build error
2021-10-11 1:45 Yocto build error Jupiter
@ 2021-10-11 7:59 ` Alexander Kanavin
2021-10-11 17:29 ` Khem Raj
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2021-10-11 7:59 UTC (permalink / raw)
To: JH; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
You need to show the full command line that produces the error.
Alex
On Mon, 11 Oct 2021 at 03:45, JH <jupiter.hce@gmail.com> wrote:
> Hi,
>
> I have following errors:
>
> No GNU_HASH in the ELF binary
>
> /build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/solar/1.0.0-0/packages-split/wifi_signal,
> didn't pass LDFLAGS? [ldflags]
>
> So I add --hash-style=gnu to my Makefile:
>
> LD_FLAGS += --hash-style=gnu
> LDFLAGS = LD_FLAGS
>
> But that does not work:
>
> arm-oe-linux-gnueabi-gcc: error: unrecognized command line option
> '--hash-style=gnu'
>
> What is wrong about the error if the --hash-style=gnu is not the right
> fix?
>
> Thank you.
>
> Kind regards.
>
> JH
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#55010):
> https://lists.yoctoproject.org/g/yocto/message/55010
> Mute This Topic: https://lists.yoctoproject.org/mt/86227801/1686489
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 1948 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] Yocto build error
2021-10-11 1:45 Yocto build error Jupiter
2021-10-11 7:59 ` [yocto] " Alexander Kanavin
@ 2021-10-11 17:29 ` Khem Raj
1 sibling, 0 replies; 4+ messages in thread
From: Khem Raj @ 2021-10-11 17:29 UTC (permalink / raw)
To: JH; +Cc: yocto
On Sun, Oct 10, 2021 at 6:45 PM JH <jupiter.hce@gmail.com> wrote:
>
> Hi,
>
> I have following errors:
>
> No GNU_HASH in the ELF binary
> /build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/solar/1.0.0-0/packages-split/wifi_signal,
> didn't pass LDFLAGS? [ldflags]
>
> So I add --hash-style=gnu to my Makefile:
>
> LD_FLAGS += --hash-style=gnu
> LDFLAGS = LD_FLAGS
>
> But that does not work:
>
> arm-oe-linux-gnueabi-gcc: error: unrecognized command line option
> '--hash-style=gnu'
>
> What is wrong about the error if the --hash-style=gnu is not the right fix?
>
So it seems your makefile is not respecting the LDFLAGS coming from
the environment during linking.
perhaps you should fix that in your linking rules. hardcoding hash
style like this is not portable.
> Thank you.
>
> Kind regards.
>
> JH
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#55010): https://lists.yoctoproject.org/g/yocto/message/55010
> Mute This Topic: https://lists.yoctoproject.org/mt/86227801/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Yocto build error
@ 2019-06-17 8:09 Richu C J
0 siblings, 0 replies; 4+ messages in thread
From: Richu C J @ 2019-06-17 8:09 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]
HI,
I'm new to yocto project.I'm trying to build images for imx6qsabreauto.I tried to build images by executing command 'bitbake core-image-base'.
But it is showing error log is below
BspDeveloper2@BspDeveloper2:/home/nvme/fsl-arm-yocto-bsp/build$ bitbake core-image-base
Traceback (most recent call last):
File "/home/nvme/fsl-arm-yocto-bsp/sources/poky/bitbake/bin/bitbake", line 48, in <module>
cookerdata.CookerConfiguration()))
File "/home/nvme/fsl-arm-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 468, in bitbake_main
server = start_server(servermodule, configParams, configuration, featureset)
File "/home/nvme/fsl-arm-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 354, in start_server
cooker = bb.cooker.BBCooker(configuration, features)
File "/home/nvme/fsl-arm-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py", line 178, in __init__
self.configwatcher = pyinotify.WatchManager()
File "/home/nvme/fsl-arm-yocto-bsp/sources/poky/bitbake/lib/pyinotify.py", line 1764, in __init__
raise OSError(err % self._inotify_wrapper.str_errno())
OSError: Cannot initialize new instance of inotify, Errno=Too many open files (EMFILE)
DEBUG: Removed the following variables from the environment: GTK_MODULES, QT4_IM_MODULE, IM_CONFIG_PHASE, JOB, DERBY_HOME, COLORTERM, XDG_DATA_DIRS, OPENCV_ANDROID_SDK, SESSION_MANAGER, WINDOWID, JAVA_HOME, SELINUX_INIT, XAUTHORITY, MANDATORY_PATH, CLUTTER_IM_MODULE, INSTANCE, XDG_CONFIG_DIRS, LANGUAGE, QT_QPA_PLATFORMTHEME, GDMSESSION, LS_COLORS, VTE_VERSION, DESKTOP_SESSION, XDG_SESSION_PATH, XDG_RUNTIME_DIR, XMODIFIERS, SESSION, DEFAULTS_PATH, SHLVL, EIGEN3_DIR, COMPIZ_CONFIG_PROFILE, GDM_LANG, XDG_MENU_PREFIX, DISPLAY, XDG_SEAT_PATH, CCACHE_DIR, LANG, GNOME_KEYRING_PID, XDG_SESSION_ID, GNOME_KEYRING_CONTROL, SESSIONTYPE, USE_CCACHE, OLDPWD, XDG_SEAT, XDG_GREETER_DATA_DIR, BUILDDIR, GTK_IM_MODULE, GPG_AGENT_INFO, XDG_CURRENT_DESKTOP, DBUS_SESSION_BUS_ADDRESS, UPSTART_SESSION, LESSOPEN, TEXTDOMAIN, J2SDKDIR, TEXTDOMAINDIR, COMPIZ_BIN_PATH, GNOME_DESKTOP_SESSION_ID, XDG_VTNR, LESSCLOSE, _, J2REDIR
Segmentation fault (core dumped)
Please help me to resolve this..
Regards,
Richu C J
Disclaimer Note: This e-mail and any attachments that contain protected and confidential information is intended for the sole use of the addressee individual or organization. If you are not the addressee or an authorized agent or if you have received this message by error, please notify me immediately by returning the message and delete this copy from your system without any illegal use.
[-- Attachment #2: Type: text/html, Size: 6351 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-11 17:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 1:45 Yocto build error Jupiter
2021-10-11 7:59 ` [yocto] " Alexander Kanavin
2021-10-11 17:29 ` Khem Raj
-- strict thread matches above, loose matches on Subject: below --
2019-06-17 8:09 Richu C J
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.